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
 General SQL Server Forums
 New to SQL Server Programming
 Substract the ddl code from the database.

Author  Topic 

rickymartin06
Starting Member

3 Posts

Posted - 2010-03-21 : 23:27:06
im using sql server management studio 2008 and im trying to get the code of my table cause i create the tables manually but i made some changes with GUI and i want to get these changes in a text file is that possible?

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2010-03-22 : 02:50:58
Yes you can right click on the table name in object explorer and choose script table.


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2010-03-22 : 05:18:47
<<
but i made some changes with GUI and i want to get these changes in a text file is that possible?
>>

Did you mean Enterprise Manager or Management studio
Before saving click the icon labelled save script changes

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-03-22 : 11:28:39
do you have enterprise manager in sql 2008?

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

Go to Top of Page
   

- Advertisement -