sql server drop table if exists
snippet in sql

sql drop table if exists

user8546

DROP TABLE IF EXISTS dbo.Customers

sql server drop table if exists

user9848

IF OBJECT_ID('dbo.Scores', 'U') IS NOT NULL DROP TABLE dbo.Scores; 

table drop if exist sql server

user7412

IF OBJECT_ID('dbo.Scores', 'U') IS NOT NULL DROP TABLE dbo.Scores;