Answers for "if constraint exists drop sql server"

SQL
4

sql server drop table if exists

IF OBJECT_ID('dbo.Scores', 'U') IS NOT NULL DROP TABLE dbo.Scores;
Posted by: Guest on April-22-2020
0

Drop check constraint in ms sql

/*To Drop Check Constraint*/
ALTER TABLE (Table_Name)
DROP CONSTRAINT (Constraint_Name)
Posted by: Guest on June-09-2021

Code answers related to "if constraint exists drop sql server"

Code answers related to "SQL"

Browse Popular Code Answers by Language