Skip to content

Instantly share code, notes, and snippets.

@65
Created March 11, 2012 08:02
Show Gist options
  • Save 65/2015516 to your computer and use it in GitHub Desktop.
Save 65/2015516 to your computer and use it in GitHub Desktop.
Copy tables between SQL databases
SELECT *
INTO NewTable
FROM existingdb.dbo.existingtable;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment