Skip to content

Instantly share code, notes, and snippets.

@hoangitk
Created September 26, 2014 03:21
Show Gist options
  • Save hoangitk/05412080378377a53c20 to your computer and use it in GitHub Desktop.
Save hoangitk/05412080378377a53c20 to your computer and use it in GitHub Desktop.
IF OBJECT_ID(‘tempdb..#sometable’) IS NOT NULL
DROP TABLE #sometable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment