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 |
Hitesh Shah
Yak Posting Veteran
80 Posts |
Posted - 2007-06-01 : 00:57:02
|
Is there any way / stored procedure whereby I can get an output in a file / screen about all tables / views / triggers /SPs in a database all together . |
|
harsh_athalye
Master Smack Fu Yak Hacker
5581 Posts |
Posted - 2007-06-01 : 01:01:00
|
What kind of output you want for each of the DB object? You can try playing with Information_schema views to get desired output.Harsh AthalyeIndia."The IMPOSSIBLE is often UNTRIED" |
 |
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2007-06-01 : 05:07:23
|
Seems you need to Generate SQL ScriptMadhivananFailing to plan is Planning to fail |
 |
|
Hitesh Shah
Yak Posting Veteran
80 Posts |
Posted - 2007-06-01 : 06:13:09
|
I wish to get the detailed table designs , stored procedures ,triggers etc in a user database . |
 |
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2007-06-02 : 03:04:28
|
It is not clear what you wantDo you want DDL for the above?MadhivananFailing to plan is Planning to fail |
 |
|
Hitesh Shah
Yak Posting Veteran
80 Posts |
Posted - 2007-06-02 : 03:13:43
|
OK . In order to simplify the requirement. Please let me know from which systables I can get information about table designs , views , stored procedures , userd defined functions etc and what is the best way to output the same in a query . |
 |
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2007-06-02 : 03:38:30
|
Read about Information_schema in sql server help fileMadhivananFailing to plan is Planning to fail |
 |
|
jezemine
Master Smack Fu Yak Hacker
2886 Posts |
Posted - 2007-06-02 : 04:03:55
|
<plug>or check out the app in my sig</plug> www.elsasoft.org |
 |
|
blindman
Master Smack Fu Yak Hacker
2365 Posts |
Posted - 2007-06-03 : 00:19:12
|
Ummm...script the entire database from Enterprise Manager?e4 d5 xd5 Nf6 |
 |
|
Hitesh Shah
Yak Posting Veteran
80 Posts |
Posted - 2007-06-03 : 23:57:14
|
Information_schema is solving my purpose for the time being . I'll look at the tool recommended some time later . |
 |
|
|
|
|