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 / chandana
YOU CANNOT CHANGE THE CONSTRAINTS DIRECTLY ON A COLUMN.
FIRST DROP THE CONSTARINT U HAVE CREATED AND THEN USE ALTER
COMMAND TO ADD CONSTARINT TO THE CORRECT COLUMN.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is a proxy class?
What are the limitations of check constraint?
How to view existing locks on the database?
What is a subquery?
What are the advantages of oracle 12c?
What is the fastest query method to fetch data from the table?
What is the usage of control file in oracle?
What is a cursor and what are the steps need to be taken?
How to run queries on external tables?
How to count duplicated values in a column in oracle?
What is an oracle database table?
How to create a stored function in oracle?
Is there an oracle sql query that aggregates multiple rows into one row?
How to experiment a data lock in oracle?
How to shutdown your 10g xe server from command line?