Its possible to add more than one primary key for the table
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Answer / ramesh
No not possibble add more than one primay key on the table
Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between local and global temporary table?
Does truncate table reset auto increment?
Can I join the same table twice?
why we go for package? what are the advantages of using instead of seperate procuderes or functions
How to fetch values from testtable1 that are not in testtable2 without using not keyword?
Explain unique key in sql.
what's the difference between a primary key and a unique key? : Sql dba
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)
How to place comments in pl/sql?
Explain what is a field in a database and record in a database?
Can you select everything, but 1 or 2 fields, without writer's cramp?
How to convert ms-excel file to oracle table?