Skip to content

Instantly share code, notes, and snippets.

@cpoDesign
Last active January 23, 2018 17:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cpoDesign/d57c9e6e8da0df43b764d44908e25a00 to your computer and use it in GitHub Desktop.
Save cpoDesign/d57c9e6e8da0df43b764d44908e25a00 to your computer and use it in GitHub Desktop.
SQL 2016 new way of checking if exists
DROP TABLE IF EXISTS dbo.Product
DROP TRIGGER IF EXISTS trProductInsert
DROP PROCEDURE IF EXISTS [dbo].[InsertData]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment