Answers for "query for copy structure of the table sql server"

SQL
7

copy table sql server

-- Use SELECT ... INTO:
SELECT * INTO my_table_1 FROM my_table;
-- Structure only:
SELECT * INTO my_table_1 FROM my_table WHERE 1 <> 1;
Posted by: Guest on May-08-2021

Code answers related to "query for copy structure of the table sql server"

Code answers related to "SQL"

Browse Popular Code Answers by Language