Difference between primary key and unique key ?
Answer Posted / omkar
In any table there can be one and only one primary key
(composite priamry key can have more than 1 column but
together conside one key only) but more than one unique
keys.
Primary key cannot accecpt null value.unique key accecpts
one or more than one null values.
primary key uniquly identifies the table but unique key is
used for uniquly identified of table as it contain one or
more than onee null.
Clustered index is created on
Primary key constraint and non clustered unique indexes is
created on Unique key constraint.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain the use of consistent option in exp command.
What is a synonym? What are its various types?
how to join query for one source type is oracle another source type is sql server ?
What are the benefits of ordbms?
Is insert autocommit in oracle?
What is a named program unit?
How to turn on or off recycle bin for the session?
20. Using a set operator, display the client number of all clients who have never placed an order.
How to use "startup" command to start default instance?
Why does for update in oracle 8 cause an ora-01002 error?
How do I uninstall oracle client from windows?
How would you best determine why your MVIEW couldnt FAST REFRESH?
What is a trigger and what are its types?
i have a question here... As of my knowledge, when we apply an index (b-tree)on a column, internally it arranges the data in b-tree format and do the fetching process correspondingly... and my quetion is... How a bit-map index arranges the data internally when applied on a column?IS it in b-tree format or whatelse?
How to list all tables in your schema?