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.
| Author |
Topic |
|
concoran
Starting Member
7 Posts |
Posted - 2010-02-15 : 05:45:12
|
| If there is a table, it's easy to right click and use 'script table as' and generate table creation script.But, is there a programmatic way to do it? |
|
|
DaleTurley
Yak Posting Veteran
76 Posts |
Posted - 2010-02-15 : 05:58:50
|
| There is in .Net using a Scripter object from the Microsoft.SQLServer.SMO namespace.Not familiar with a way through SQL Server though... |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
|
|
|
|
|