table drop if exist sql server
snippet in sql

sql drop table if exists

user106

DROP TABLE IF EXISTS dbo.Customers

sql server drop table if exists

user8846

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

table drop if exist sql server

user5038

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