Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 copy a table structure including index

Author  Topic 

Sun Foster
Aged Yak Warrior

515 Posts

Posted - 2007-04-13 : 10:24:43
I want to copy table all columns' name, index from table A to B(without data). How to code script?

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2007-04-13 : 10:29:14
use Enterprise Manager, right click on the table and select GENERATE SQL SCRIPT


KH

Go to Top of Page
   

- Advertisement -