Answer Posted / prativa mishra
begin
execute immediate('alter table table_name add constraint constraint_name primary key(column_name)');
end;
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
What is not in sql?
Is sql port 1433 encrypted?
Explain the order of sql statement execution?
Is mariadb a nosql database?
What is difference between sql and mysql?
how to include numeric values in sql statements? : Sql dba
Why should I use postgresql?
What is trigger in sql and its types?
How to get help at the sql prompt?
What is application trigger?
What is difference between cursor and trigger?
Which tcp/ip port does sql server run?
What is an index? What are the types of indexes? How many clustered indexes can be created on a table?
How can I see all tables in sql?
How do you drop a trigger?