What is difference between UNIQUE constraint and PRIMARY KEY
constraint ?
Answer Posted / naren
When ever you create a primary key constraint on perticular
column in a table it creates clustered index by default,
it cannot allow null values and a table having only one
primary key constraint. But in the case of Unique Key
constraint, it allow only one null value, it creates non-
clustered index by default and a table having multiple
unique key constraints.
Regards
Naren Krishna
| Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
Where is the export dump file located?
Which is better Oracle or MS SQL? Why?
Assuming today is Monday, how would you use the DBMS_JOB package to schedule the execution of a given procedure owned by SCOTT to start Wednesday at 9AM and to run subsequently every other day at 2AM.
Can you tell me how to add new column in existing views?how?How is possible?
What is the fastest query method to fetch data from the table?
Explain an index?
What is materialized view in Oracle?
What is oracle and what are its different editions?
How to do paging with oracle?
How to define a variable to match a table column data type?
How to write an inner join with the where clause in oracle?
What is a named program unit?
15. Display the item_cost and then truncate it to the nearest hundred, ten, unit, tenth and hundredth.
How to store only time; not date and time?
What is a database table in oracle?