Skip to content

Instantly share code, notes, and snippets.

@lenriqueotero
Created March 31, 2016 22:34
Show Gist options
  • Save lenriqueotero/7cd399d421f3ae33150495777d647933 to your computer and use it in GitHub Desktop.
Save lenriqueotero/7cd399d421f3ae33150495777d647933 to your computer and use it in GitHub Desktop.
check if table exists sql server
USE [DB_NAME]
GO
SELECT OBJECT_ID(N'[Shema].[Table]', N'U')
GO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment