How will you copy the structure of a table without copying the data? Chris Anderson250417-Sep-2011mssql servermssql server Updated on 20-Sep-2020
Shekhar Kumar
06-Aug-2014SELECT*INTO NewTable FROM OldTable Where 1=2
Chris Anderson
17-Sep-2011There is one method for copying the structure of table without copying the data is
create table NEWTABLE as select * from OLDTABLE where 1=2