Sybase 12.5.1 User Manual page 123

Historical server
Table of Contents

Advertisement

Data item
Current Stmt Procedure
Database Name
Version: 11.5 and later
Current Stmt Procedure
ID
Version: 11.5 and later
Current Stmt Procedure
Name
Version: 11.5 and later
Current Stmt Procedure
Owner Name
Version: 11.5 and later
Current Stmt Procedure
Text
Version: 11.5 and later
Current Stmt Query Plan
Text
Version: 11.5 and later
Current Stmt Start Time
Version: 11.5 and later
User's Guide
Description
The database name of the stored procedure (including triggers, a special kind of stored
procedure) that contains the currently executing SQL statement for a particular
process. If the currently executing SQL statement is not contained in a stored
procedure, this name is
Type: Result
The ID of the stored procedure (including triggers, a special kind of stored procedure)
that contains the currently executing SQL statement for a particular process. If the
currently executing SQL statement is not contained in a stored procedure, this ID is 0.
Type: Result
The name of the stored procedure (including triggers, a special kind of stored
procedure) that contains the currently executing SQL statement for a particular
process. If the currently executing SQL statement is not contained in a stored
procedure, this name is
Type: Result
The owner name of the stored procedure (including triggers, a special kind of stored
procedure) that contains the currently executing SQL statement for a particular
process. If the currently executing SQL statement is not contained in a stored
procedure, this name is
Type: Result
The text of a particular stored procedure (including triggers, a special kind of stored
procedure) being executed for a particular process. If both Current Stmt Procedure
Database ID is equal to 0 and Current Stmt Procedure ID is equal to 0 then a stored
procedure is not currently executing and this text is a null-terminated empty string ("").
If the text is not available (because this stored procedure was compiled and its text was
discarded, or because the text is stored in an encrypted format), then this text is a null-
terminated empty string ("").
Type: Result
The text of the query plan for a particular query being executed for a particular process.
If the text is not available (because the Adaptive Server has removed this plan from its
catalog of query plans), then this text is a null-terminated empty string ("").
Type: Result
The date and time, in the time zone of Adaptive Server, when the currently executing
SQL statement began running.
If this SQL statement began running before monitoring began, then this result is the
date and time that activity was first encountered for this statement.
Type: Result
.
"**NoDatabase**"
.
"**NoObject**"
.
"**NoOwner**"
APPENDIX A
Data Items
109

Advertisement

Table of Contents
loading

Table of Contents