Skip to content

Commit 2e79f74

Browse files
committed
Fix casing in status column for dm_exec_requests
1 parent de5a91a commit 2e79f74

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/relational-databases/system-dynamic-management-views/sys-dm-exec-requests-transact-sql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Returns information about each request that is executing in [!INCLUDE[ssNoVersio
3333
| session_id | **smallint** | ID of the session to which this request is related. Not nullable. |
3434
| request_id | **int** | ID of the request. Unique in the context of the session. Not nullable. |
3535
| start_time | **datetime** | Timestamp when the request arrived. Not nullable. |
36-
| status | **nvarchar(30)** | Status of the request. Can be one of the following values:<br /><br />Background<br />Running<br />Runnable<br />Sleeping<br />Suspended<br />Rollback<br /><br />Not nullable. |
36+
| status | **nvarchar(30)** | Status of the request. Can be one of the following values:<br /><br />background<br />rollback<br />running<br />runnable<br />sleeping<br />suspended<br /><br />Not nullable. |
3737
| command | **nvarchar(32)** | Identifies the current type of command that is being processed. Common command types include the following values:<br /><br />SELECT<br />INSERT<br />UPDATE<br />DELETE<br />BACKUP LOG<br />BACKUP DATABASE<br />DBCC<br />FOR<br /><br />The text of the request can be retrieved by using `sys.dm_exec_sql_text` with the corresponding sql_handle for the request. Internal system processes set the command based on the type of task they perform. Tasks can include the following values:<br /><br />LOCK MONITOR<br />CHECKPOINTLAZY<br />WRITER<br /><br />Not nullable. |
3838
| sql_handle | **varbinary(64)** | Is a token that uniquely identifies the batch or stored procedure that the query is part of. Nullable. |
3939
| statement_start_offset | **int** | Indicates, in bytes, beginning with 0, the starting position of the currently executing statement for the currently executing batch or persisted object. Can be used together with the `sql_handle`, the `statement_end_offset`, and the `sys.dm_exec_sql_text` dynamic management function to retrieve the currently executing statement for the request. Nullable. |

0 commit comments

Comments
 (0)