Answers for "do we need to drop all constraints before dropping 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 "do we need to drop all constraints before dropping a table?"

Code answers related to "SQL"

Browse Popular Code Answers by Language