Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Search For Text in Stored Procedure
Message
De
12/08/2004 09:05:16
Evans Carl
System Answers Consulting, Inc
Big Lake, Minnesota, États-Unis
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
00932509
Message ID:
00932654
Vues:
25
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,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform