Difference between primary key and unique key ?

Answer Posted / niranjan dhungia

Primary key doesnot allow null value but unique key allows
null value. We can declare only one primary key in a table
but a table can have multiple unique key(column assign).

Is This Answer Correct ?    1017 Yes 126 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use in conditions in oracle?

753


What is the purpose of tables, private synonyms and public synonyms in Oracle?

778


Can we commit inside a function in oracle?

703


How to filter out duplications in the returning rows using oracle?

819


How can we find out the current date and time in oracle?

803






Explain the use of show option in imp command.

821


what is the use of triggers in Java program? I mean where do we use triggers in Java programming?

1916


Write a syntax for update query in oracle?

777


How can we force the database to use the user specified rollback segment?

794


What is rich query?

699


How many types of cluster table in Oracle?

765


How to check the oracle tns settings?

768


What is java oracle used for?

751


Can I create users through internet explorer in oracle 10g?

760


What do you understand by a database object? Can you list a few of them?

767