Its possible to add more than one primary key for the table

Answers were Sorted based on User's Feedback



Its possible to add more than one primary key for the table ..

Answer / rajesh venati

No, it is not possible, only one primary key is possible for
a table.
It is possible to create a primary key on more than one
column in a table, up to 32 columns. It is called composite
primary key.

Is This Answer Correct ?    19 Yes 2 No

Its possible to add more than one primary key for the table ..

Answer / ravi singh

No, physically its not possible to add more then one primary key on a table, although logically you can create an unique key on a column and put it as not null .

Is This Answer Correct ?    8 Yes 1 No

Its possible to add more than one primary key for the table ..

Answer / mahesh katkam

NO its not possible to add more than one primary key in one table , but using trigger we can make another non_primary column acts as primary key column.

Is This Answer Correct ?    1 Yes 0 No

Its possible to add more than one primary key for the table ..

Answer / ramesh

No not possibble add more than one primay key on the table

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

What is the difference between local and global temporary table?

0 Answers  


Does truncate table reset auto increment?

0 Answers  


Can I join the same table twice?

0 Answers  


why we go for package? what are the advantages of using instead of seperate procuderes or functions

3 Answers   IBM, TCS,


How to fetch values from testtable1 that are not in testtable2 without using not keyword?

0 Answers  






Explain unique key in sql.

0 Answers  


what's the difference between a primary key and a unique key? : Sql dba

0 Answers  


Is there any problem if we use commit repeatedly after each dml statement in a plsq procedure ? (eg. there are 10 update stmt and using 10 commit stmt after each update stmt)

1 Answers  


How to place comments in pl/sql?

0 Answers  


Explain what is a field in a database and record in a database?

0 Answers  


Can you select everything, but 1 or 2 fields, without writer's cramp?

0 Answers  


How to convert ms-excel file to oracle table?

2 Answers  


Categories