Answer Posted / prativa mishra
BEGIN
EXECUTE IMMEDIATE 'ALTER TABLE TABLE_NAME ADD CONSTRAINT PK1
PRIMARY KEY(COLUMN_NAME)';
END;
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Does postgresql run on the cloud?
Write a sql select query that only returns each name only once from a table?
How do I run a query in pl sql developer?
What is a variable in sql?
Suppose a student column has two columns, name and marks. How to get name and marks of the top three students.
Why are cursors used?
What are aggregate and scalar functions?
What are few of the schema objects that are created using PL/SQL?
How do I remove duplicates in two columns?
how is myisam table stored? : Sql dba
What is difference between joins and union?
what is table? : Sql dba
How do I restart sql?
What is the difference between a primary key and a unique key?
What are the different operators available in sql?