what is difference between primary key and unique key
?

Answers were Sorted based on User's Feedback



what is difference between primary key and unique key ?..

Answer / chandonline

Basic difference between primary key and unique is that primary key is used to define a table in other tables for preventing data from anomalies,and unique key is used in a table to apply unifications among different values or columns of a tables and only in that table obviously.Their is no usage of unique key outward a table but primary key is often used to make relations between other tables.

Is This Answer Correct ?    3 Yes 0 No

what is difference between primary key and unique key ?..

Answer / ashish tyagi

The basic difference between primary key and unique key is that unique key allows null value but primary key did not allow null value.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More DB Development Interview Questions

What are the disadvantages of cursors? How can you avoid cursors?

2 Answers  


What are the 18 schemas?

0 Answers  


explain detail about ftp in datastage?

0 Answers   IBM,


How long can an error message be in raiseerror function?

0 Answers  


How can I detect whether a given connection is blocked?

0 Answers  






What is dbms and its application?

0 Answers  


What is the system function to get the current user's user id?

4 Answers  


Explain about the storage and physical database design?

0 Answers  


What is dbms explain in brief?

0 Answers  


State the acid rules?

0 Answers  


how to find the first two highest salaries in deptno in emp table

2 Answers  


Explain the general syntax for a SELECT statements covering all the options.

3 Answers  


Categories