Created
October 21, 2015 10:58
-
-
Save maximishchenko/e2f5748221600fcbb113 to your computer and use it in GitHub Desktop.
MS SQL 2008 backup table into another new table
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/****** | |
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