Skip to content

Instantly share code, notes, and snippets.

@cpoDesign
Last active January 23, 2018 17:01
Show Gist options
  • Select an option

  • Save cpoDesign/d57c9e6e8da0df43b764d44908e25a00 to your computer and use it in GitHub Desktop.

Select an option

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