Skip to content

Instantly share code, notes, and snippets.

@dalmat36
Created June 26, 2015 14:27
Show Gist options
  • Select an option

  • Save dalmat36/6ab20b3126e001362b80 to your computer and use it in GitHub Desktop.

Select an option

Save dalmat36/6ab20b3126e001362b80 to your computer and use it in GitHub Desktop.
This SQL snippet copies data from one table to a new table in a different database
select * into [new_database]..tbl_MY_TABLE
from [old_database]..tbl_MY_TABLE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment