USE DBNAME
GO
SELECT * FROM Sys.Objects
WHERE Type IN ('U', 'P')
ORDER BY type_desc
'U' denotes UserTables and
'P' denoted Stored Procedures
Did you like this post?
|
|
|
||
|
|
|
|
|
|
|
subscribe via rss |
|
subscribe via e-mail |
|
|
print this post |
|
follow me on twitter |




comments
0 Responses to "Display all the Tables and Stored Procedures in a database"Post a Comment