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 a trigger oracle?
How to pass parameters to procedures in oracle?
What is the purpose of tables, private synonyms and public synonyms in Oracle?
How to turn on or off recycle bin for the instance?
How to convert dates to characters in oracle?
What is the difference between substr & instr functions?
What is the oracle implicit cursor?
What are temporal data types in oracle?
What are the ansi data types supported in oracle?
How to use attributes of the implicit cursor in oracle?
Explain the importance of .pll extension in oracle?
What types of joins are used in writing subqueries?
What are the differences between date and timestamp in oracle?
How to create a stored function in oracle?
Point the difference between translate and replace?