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
How to check database size in Oracle?
Is oracle the best database?
What is meant by a deadlock situation?
Can we convert a date to char in oracle and if so, what would be the syntax?
What's dateware house and what's clustor with practicle example
Does facebook use oracle?
How to use "while" statements in oracle?
Can we write insert statement in function in oracle?
What is a subquery in oracle?
How do you bind variables in oracle?
How to delete a column in an existing table in oracle?
How to define an oracle cursor variable?
What is the scope of a local variable?
What do you understand by a database object?
what are steps for interface? where is exchange rate defined in which table?