Please help me how to write a Query to change the primary
key constraint from 1 attribute to another attribute in a
table
Answer Posted / manvendra
ALTER TABLE TABLE_NAME
MODIFY COLUMN (COLUMN2 PRIMARY KEY);
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
What is oracle in java?
Is primary key indexed by default in oracle?
What is a trigger oracle?
What are a cluster and non-cluster index?
What is hash cluster in oracle?
How to Truncate Table in Oracle
Explain an index?
Explain the use of compress option in exp command.
What are the differences between blob and clob in oracle?
State some uses of redo log files?
How to create a new user account in oracle?
What is a trigger and what are its types?
Explain the characteristics of oracle dba?
Why does oracle 9i treat an empty string as null?
How do you find current date and time in oracle?