if table exists drop else create sql server code example Example: sql drop table if exists DROP TABLE IF EXISTS dbo.Customers