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 |
|
pithhelmet
Posting Yak Master
183 Posts |
Posted - 2008-08-04 : 13:16:40
|
| Hi everyone -I need to generate a database script of a database that is already created.I know i can perform the operation through EM and server management studio...but i need to be able to perform this opeation from an OSQL operation.sql server 2k8thank youtake caretony |
|
|
Bustaz Kool
Master Smack Fu Yak Hacker
1834 Posts |
Posted - 2008-08-04 : 15:58:33
|
| Most of what EM does can be seen via Profiler. Set up your Profiler session and then capture the steps that EM is performing.=======================================Some people walk in the rain, others just get wet. -Roger Miller, musician (1936-1992) |
 |
|
|
jezemine
Master Smack Fu Yak Hacker
2886 Posts |
|
|
coolerbob
Aged Yak Warrior
841 Posts |
Posted - 2008-09-08 : 08:14:28
|
quote: Originally posted by jezemine I wrote a cmd line app (open source) to generate scripts, perhaps that may be of use to you: http://www.codeplex.com/scriptdb elsasoft.org
Is this still the best free tool around to script an existing database structure with everything in it? (Full Text Indexes, Users, Foreign Keys, Sprocs...) |
 |
|
|
jezemine
Master Smack Fu Yak Hacker
2886 Posts |
|
|
|
|
|