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
How do you store pictures in a database?
How to write date and time literals in oracle?
When system tablespace is created?
What is a proxy object?
Explain what are synonyms used for?
Difference between hot backup vs. Cold backup?
How to delete a user account in oracle?
Oracle
How to write a query with a left outer join in oracle?
How can I see all tables in oracle?
What to do if the binary spfile is wrong for the default instance?
How index is implemented in oracle database?
What is difference between truncate and delete?
How to pass parameters to procedures?
What is instant client oracle?