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 2005 Forums
 Transact-SQL (2005)
 Creating Table script

Author  Topic 

satya068
Posting Yak Master

233 Posts

Posted - 2010-04-06 : 11:33:57
Hi..
can i know how to create a table script of a database.

i want to create a table script in new database based on the other database.


thanx

Satya

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-04-06 : 11:40:11
just right click on table from object explorer on other db and choose script as option to another window

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

satya068
Posting Yak Master

233 Posts

Posted - 2010-04-06 : 11:43:26
Hi visakh

i should copy this script and run in new database right?

Satya
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-04-06 : 11:46:47
yeah...exactly

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -