What is differance unique key and primary key.

Answer Posted / rahul khanke

primary key : primary key dose not except null value
unique key : it accept null values.. if it set to not null
then it as good as primary key.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention what is the function that is used to transfer a pl/sql table log to a database table?

486


Where not exists in sql?

503


Name the different types of indexes in sql and define them.

570


What do you mean by stored procedures?

551


What is nosql db?

546






What is the life of an sql statement?

525


Why left join is used in sql?

518


What is trigger price?

542


Can you join views in sql?

543


Does mysql_real_escape_string prevent sql injection?

539


Why do we use view in sql?

534


What are the query optimization techniques?

535


how to increment dates by 1 in mysql? : Sql dba

541


how to enter binary numbers in sql statements? : Sql dba

493


What are analytical functions in sql?

543