View definition
Analytics Platform System (PDW)
SQL database in Microsoft
Fabric
This article describes how to view the definition of procedure in Object Explorer or T-SQL.
:
- In Object Explorer, connect to an instance of Database Engine and then expand that
instance.
- Expand
, expand the database in which the procedure belongs, and then
expand.
- Expand
, right-click the procedure and then select
, and then select one of the following:
,
, or.
- Select. This will display the procedure definition.
In T-SQL, you can use one of the following three commands:
sp_helptext
OBJECT_DEFINITION
sys.sql_modules
7
Note
The system stored procedure
is not supported in Azure Synapse Analytics.
Instead, use
object catalog view.
sp_helptext sys.sql_modules