Difference between primary key and unique key ?
Answer Posted / sunil upadhyay
the basic difference is that primary key can not have null
value whereas Unique key can have null values.two null
value are not same.One table may have more than one Unique
Key Constraint
columns, but should have only one Primary Key Constraint
column.
| Is This Answer Correct ? | 88 Yes | 51 No |
Post New Answer View All Answers
How to start your 10g xe server from command line?
How to start an oracle instance?
How to select some columns from a table in oracle?
How to retrieve data from an cursor to a record?
State and explain the different types of data models?
Using the relations and the rules set out in the notes under each relation, write table create statements for the relations EMPLOYEE, FIRE and DESPATCH. You should aim to provide each constraint with a formal name, for example table_column_pk.
HI Friends Myself Manoj,i am from bengaluru.i have 1 yr of exp in PLSQL but not upto the mark..now attending interviews but m not able to clear even 1 round..i have attended 3 interviews till today.purpose of writing this query is,i want to know the intreview topics that interviewer going to ask frequently,mainly SCENARIO based questions.IF anybody have any PLSQL projects please give it to me,it will helps me alot.Thanks for your patience.
What is a system tablespace?
What is a relational database management system?
What are the database administrators utilities available?
Explain oracle instance.
What is Reduced List of Values?
How to load data through external tables?
How to lock and unlock a user account in oracle?
Explain the difference between replace() and translate() functions in oracle?