Skip to content

Instantly share code, notes, and snippets.

@gscattolin
Created September 10, 2013 18:31
Show Gist options
  • Select an option

  • Save gscattolin/6513553 to your computer and use it in GitHub Desktop.

Select an option

Save gscattolin/6513553 to your computer and use it in GitHub Desktop.
Drop a Table
use DataBaseName
go
EXEC sp_MSforeachtable @command1 = "DROP TABLE ?"
go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment