Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Search For Text in Stored Procedure
Message
From
12/08/2004 09:05:16
Evans Carl
System Answers Consulting, Inc
Big Lake, Minnesota, United States
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
00932509
Message ID:
00932654
Views:
26
This message has been marked as a message which has helped to the initial question of the thread.
>Is there a "Find" function when editing stored procedures. I'm used to Ctrl-F, but I can't find a way in Enterprise Manager and stored procedures.
>
>Thanks
>Kirk

Kirk,

this is search all store procedures for the string that you want. Also, I myself use Ctrl-F from Query Analyzer to open store procedures, but you can not use it from the Enterprise Manager.

select sc.text
from syscomments sc
inner join sysobjects so
on sc.id = so.id
where text like '% variable string you want to find %'

Hope this helps.

Carl
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°¤º°`°º¤ø¤º°¤º°
Carl Evans
CEO & President
System Answers Consulting, Inc.
MCSD .NET, ASP.NET, C#.NET, VB.NET,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform