Skip to content

Instantly share code, notes, and snippets.

@Checksum
Created April 9, 2019 00:53
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 Checksum/6675ef0dbeed9e63abe07e131a430cea to your computer and use it in GitHub Desktop.
Save Checksum/6675ef0dbeed9e63abe07e131a430cea to your computer and use it in GitHub Desktop.
sqlcmd cheat sheet
-- type 'go' to execute the block
-- List all tables
1> select * from information_schema.tables;
-- Describe table
1> exec sp_columns table_name;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment