Answers for "add primary key constraint in oracle"

SQL
3

add primary key constraint in oracle

-- Adding Using alter
ALTER TABLE table_name
ADD CONSTRAINT constraint_name PRIMARY KEY (column1, column2, ... column_n);
Posted by: Guest on September-21-2020
1

drop primary key oracle

-- Dropping Using alter
ALTER TABLE table_name
DROP CONSTRAINT constraint_name;
Posted by: Guest on September-21-2020

Code answers related to "add primary key constraint in oracle"

Code answers related to "SQL"

Browse Popular Code Answers by Language