sys.sp_describe_cursor_tables
generalDescription
A data type for variables or stored procedure OUTPUT parameters that contain a reference to a The operations that can reference variables and parameters having a @local_variable @local_variable The OPEN, FETCH, CLOSE, and DEALLOCATE cursor statements. Stored procedure output parameters. The CURSOR_STATUS function. system stored procedures. output column of returns the name of the cursor variable. Any variables created with the data type are nullable. data type cannot be used for a column in a CREATE TABLE statement. CAST and CONVERT (Transact-SQL) CURSOR_STATUS (Transact-SQL) Data Type Conversion (Database Engine) Data Types (Transact-SQL) DECLARE CURSOR (Transact-SQL) DECLARE @local_variable (Transact-SQL) SET @local_variable (Transact-SQL)
Syntax
sp_describe_cursor_tables
Remarks
A data type for variables or stored procedure OUTPUT parameters that contain a reference to a
The operations that can reference variables and parameters having a
data type are:
The DECLARE
@local_variable
@local_variable
statements.
The OPEN, FETCH, CLOSE, and DEALLOCATE cursor statements.
Stored procedure output parameters.
The CURSOR_STATUS function.
system stored procedures.
output column of
returns the name of
the cursor variable.
Any variables created with the
data type are nullable.
data type cannot be used for a column in a CREATE TABLE statement.
CAST and CONVERT (Transact-SQL)
CURSOR_STATUS (Transact-SQL)
Data Type Conversion (Database Engine)
Data Types (Transact-SQL)
DECLARE CURSOR (Transact-SQL)
DECLARE @local_variable (Transact-SQL)
SET @local_variable (Transact-SQL)
Examples
Example 1
sp_describe_cursor_tables
Example 2
lock_type
Example 3
server_name
Example 4
NULL
Example 5
OPENQUERY
Example 6
OPENROWSET
Example 7
objectid
Example 8
OPENQUERY
Example 9
OPENROWSET
Example 10
dbid
(. and 12 more examples)