Can a table have two primary keys?

Answer Posted / damini

No.A table can have only one primary key .if it is having
more than one primary key then we say it as composite
primary key...A composite primarykey is a primary key of 2
or more columns together..A composite primary key is
different from primary key..

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is clustered index a primary key?

537


What is varchar data type in sql?

520


What is spool?

595


What is raid? How does it help storage of databases?

604


what is 'mysqldump'? : Sql dba

573






What does cursor do in sql?

520


What are the possible values for the boolean data field?

527


How can I speed up sql query?

527


what is oracle database ? : Sql dba

560


How do I view output in sql developer?

578


What is rtm in testing?

579


what is datawarehouse? : Sql dba

572


what are the differences between char and nchar? : Sql dba

595


Name three sql operations that perform a sort.

592


What is prepared statement in sql?

551