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
How do you use collections in procedure to return the resultset?
What is an emotional trigger?
How to select unique records from a table?
How do you update sql?
How do I find duplicates in two columns?
how to load data files into tables with 'mysqlimport'? : Sql dba
Explain the difference between cursor declared in procedures and cursors declared in the package specification?
how to drop an existing view in mysql? : Sql dba
What is a recursive stored procedure?
What is integrity in sql?
What is the purpose of cursors in pl/sql?
What can I use instead of union in sql?
What are the string functions in sql?
how to escape special characters in sql statements? : Sql dba
Does sql backup shrink transaction log?