Find Store Procedures and Functions in MS SQL Server.



Hi Friends ,
This article will help you to find Store Procedures and Functions in Microsoft SQL Server.
Execute this Script which i mentioned below.


ROUTINE_TYPE = 'PROCEDURE' OR  'Function'
Select ROUTINE_TYPE,SPECIFIC_NAME,ROUTINE_DEFINITION
FROM   INFORMATION_SCHEMA.ROUTINES
WHERE  OBJECTPROPERTY(OBJECT_ID(SPECIFIC_NAME),'IsMSShipped') =0
       AND ROUTINE_DEFINITION  like '%PrcName%'
       AND ROUTINE_TYPE='PROCEDURE'









Comments

Popular posts from this blog

Draw Line and Text on Bitmap Image in C#

Create Folder / Directory using SQL Server