sp_execute (Transact-SQL)
Applies to:
SQL Server
Azure SQL Managed Instance
Azure Synapse Analytics
Analytics Platform System (PDW)
Executes a prepared Transact-SQL statement using a specified handle and optional parameter value. sp_execute is invoked by specifying ID =12 in a tabular data stream (TDS) packet.
Transact-SQL syntax conventions
Syntax
-- Syntax for SQL Server, Azure Synapse Analytics, Parallel Data Warehouse
sp_execute handle OUTPUT
[,bound_param ] [,...n ] ]
Arguments
handle
Is the handle value returned by sp_prepare. handle is a required parameter that calls for int input value.
bound_param
Signifies the use of additional parameters. bound_param is a required parameter that calls for input values of any data type to signify additional parameters for the procedure.
Note
bound_param must match the declarations made by the sp_prepareparams value and can be in the form @name = value or value.
See Also
System Stored Procedures (Transact-SQL)
sp_prepare (Transact SQL)
प्रतिक्रिया
https://aka.ms/ContentUserFeedback.
जल्द आ रहा है: 2024 के दौरान हम सामग्री के लिए फीडबैक तंत्र के रूप में GitHub मुद्दों को चरणबद्ध तरीके से समाप्त कर देंगे और इसे एक नई फीडबैक प्रणाली से बदल देंगे. अधिक जानकारी के लिए, देखें:के लिए प्रतिक्रिया सबमिट करें और देखें