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 to create a new table by selecting rows from another table?
Can we protect our pl/sql source code?
Can we connect to ORACLE db using Windows Authentication?
what is the difference between data migration and production migration.
What do database buffers contain?
How to run the anonymous block again?
How to define a data field as not null?
Can we store pictures in the database and if so, how it can be done?
How to pass parameters to procedures in oracle?
Is there a function to split a string in plsql?
1) Does oracle have any table which contain all the exceptions and it's code internally?
What is translate in oracle?
Can sub procedure/function be called recursively?
What are the major difference between truncate and delete?
what is Single Byte Overhead...?