sql server sql drop table if exist code example Example: sql drop table if exists IF OBJECT_ID('dbo.Scores', 'U') IS NOT NULL DROP TABLE dbo.Scores;