Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Insertion Query Creation of a Table in Milliseconds

By emreguldogan,

Just paste the script into the analyzer and rename the '[HERE_IS_THE_NAME_OF_THE_TABLE_YOU_WANT]' part as the name of the table and execute it in text output mode. Copy the output and paste it again into the analyzer and execute the creation script. That's it. Be careful, you may need to exclude the id column manually (if it is an identity counter column).

Total article views: 2296 | Views in the last 30 days: 4
 
Tags
automation    
table    
t-sql    
 
Contribute