Answers for "drop all the constraints of a table"

SQL
1

drop table with constraints

1. 'First Drop contrstraints like this'
ALTER TABLE table_name
DROP CONSTRAINT constraint_name;
2. 'Then drop table'
DROP TABLE table_name;
Posted by: Guest on February-19-2021

Code answers related to "drop all the constraints of a table"

Code answers related to "SQL"

Browse Popular Code Answers by Language