Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save maximishchenko/e2f5748221600fcbb113 to your computer and use it in GitHub Desktop.
Save maximishchenko/e2f5748221600fcbb113 to your computer and use it in GitHub Desktop.
MS SQL 2008 backup table into another new table
/******
SELECT * INTO [db_name].[db_prefix].[new_table_name] FROM [db_name].[db_prefix].[old_table_name]
Example:
******/
SELECT * INTO [test].[dbo].[VRD_CarSaleContractFilePathNew] FROM [test].[dbo].[VRD_CarSaleContractFilePath]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment