Answers for "alter table drop constraint"

SQL
0

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
0

How to drop columns with constraint from a table in sql script

alter table tableName drop constraint [ConstraintName]
go
alter table tableName drop column columnName
Posted by: Guest on January-05-2021

Code answers related to "alter table drop constraint"

Code answers related to "SQL"

Browse Popular Code Answers by Language