Skip to content

Instantly share code, notes, and snippets.

View johngibb's full-sized avatar

John Gibb johngibb

View GitHub Profile
SET STATISTICS TIME OFF
SET STATISTICS IO OFF
SET NOCOUNT ON
GO
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'dbo.MyTable') AND type in (N'U'))
DROP TABLE dbo.MyTable
GO