Skip to content

Instantly share code, notes, and snippets.

@tylerhannan
Created April 12, 2013 01:21
Show Gist options
  • Save tylerhannan/5368544 to your computer and use it in GitHub Desktop.
Save tylerhannan/5368544 to your computer and use it in GitHub Desktop.
IF
(EXISTS
(SELECT 1 FROM syscat.tables WHERE tabschema = 'dbo' and tabname = 'gooddecisions'))
THEN
DROP TABLE dbo.gooddecisions;
END IF;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment