Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding out what a stored procedure creates
Message
From
21/09/2004 15:39:32
 
 
To
20/09/2004 09:04:54
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Miscellaneous
Thread ID:
00943975
Message ID:
00944701
Views:
17
>We have a large number of stored procedures that are scheduled and need to find out what tables are created. I know we can use sp_depends to find out what the query uses, but is there an easy way to find out what is created without looking at each procedure individually?

If you are looking for a particular word pattern - say, "create table" - you could use SQL DMO in a separate application to load the SP code and look for the string.
Dan LeClair
www.cyberwombat.com
SET RANT ON - The Wombat Blog

Life isn’t a morality contest and purity makes a poor shield. - J. Peter Mulhern
Disclaimer: The comments made here are only my OPINIONS on various aspects of VFP, SQL Server, VS.NET, systems development, or life in general, and my OPINIONS should not be construed to be the authoritative word on any subject. No warranties or degrees of veracity are expressed or implied. Void where prohibited. Side effects may included dizziness, spontaneous combustion, or unexplainable cravings for dark beer. Wash with like colors only, serve immediately for best flavor.
Previous
Reply
Map
View

Click here to load this message in the networking platform