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 packages(if any) has oracle provided for use by developers?
How to convert comma separated string to array in pl/sql?
What is memory optimized table?
What are different types of triggers?
How can I tell if sql is running?
Are stored procedures faster than queries?
How many triggers can be applied on a table?
how to calculate the difference between two dates? : Sql dba
Mention what are the benefits of pl/sql packages?
How many rows can sqlite handle?
what are the disadvantages of mysql? : Sql dba
what's the difference between a primary key and a unique key? : Sql dba
What is a temporal data type?
Is sql similar to python?
Can variables be used in sql statements?