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 |
|
sqllearner
Aged Yak Warrior
639 Posts |
Posted - 2004-10-19 : 17:37:36
|
| How can I select all the table names and stored procedures from a database.For buliding the database i need to provide all the list of tables and stored procedures.Is there any way I can query and get the names from the database.eg:;All the tables and procedures in database AAA |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2004-10-19 : 17:39:57
|
| Preferred way using INFORMATION_SCHEMA views:select specific_namefrom information_schema.routinesselect table_name from information_schema.tablesTara |
 |
|
|
sqllearner
Aged Yak Warrior
639 Posts |
Posted - 2004-10-19 : 17:54:33
|
| Thanks a lot Tara....got it...great.. |
 |
|
|
|
|
|