what are the advantages of primary key over unique+notnull

Answer Posted / kamal

we are able to create a primary key for combination of more
than 1 column. which is not possible in Unique,we should
create unique key for each and every column in the table
individually.

ex . we can create a primary key for (Name,DOB,address)- ie
combination of these three columns be unique.

Is This Answer Correct ?    3 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is oracle and pl sql?

827


Is drop table faster than truncate?

738


Explain spool.

900


How do I copy a table in sql?

692


What is the maximum database size for sql express?

709






Can you rollback after commit?

716


what is the difference between union and union all? : Sql dba

722


can sql servers linked to other servers like oracle? : Sql dba

749


which tcp/ip port does sql server run on? : Sql dba

705


i have some prob lem to tell me about my self in interview first round ...

1887


What is sqlite used for?

697


Is sql microsoft?

708


How does postgresql compare to oracle/db2/ms sql server/informix?

772


What are types of exception?

686


Does varchar need length?

709