General information
Forum:
Microsoft SQL Server
Title:
SQL copy table structure
Environment versions
SQL Server:
SQL Server 2005
Hi
I'm using the following command script to copy table structures within my SQL Server Database:
select * from myDatabase.dbo.myTable1 into myDatabase.dbo.myTable2
This works fine, however, is there any way I can do this and ensure that the new copy has the same field defaults as the parent table?
Regards
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only