| title | TSQL Event Category | Microsoft Docs | |||
|---|---|---|---|---|
| ms.custom | ||||
| ms.date | 03/14/2017 | |||
| ms.prod | sql | |||
| ms.reviewer | ||||
| ms.technology | supportability | |||
| ms.topic | conceptual | |||
| helpviewer_keywords |
|
|||
| ms.assetid | 215f8747-64b5-4bf3-9845-d476b10cda3a | |||
| author | stevestein | |||
| ms.author | sstein | |||
| monikerRange | =azuresqldb-current||>=sql-server-2016||=sqlallproducts-allversions||>=sql-server-linux-2017||=azuresqldb-mi-current |
[!INCLUDEappliesto-ss-asdb-xxxx-xxx-md] The TSQL event category contains general TSQL events.
| Topic | Description |
|---|---|
| Exec Prepared SQL Event Class | Indicates that the SqlClient, ODBC, OLE DB, or DB-Library has executed a prepared [!INCLUDEtsql] statement or statements. |
| Prepare SQL Event Class | Indicates that SqlClient, ODBC, OLE DB, or DB-Library has prepared a [!INCLUDEtsql] statement or statements for use. |
| SQL:BatchCompleted Event Class | Indicates that the [!INCLUDEtsql] batch has completed. |
| SQL:BatchStarting Event Class | Indicates that the [!INCLUDEtsql] batch is starting. |
| SQL:StmtCompleted Event Class | Indicates that a [!INCLUDEtsql] statement has completed. |
| SQL:StmtRecompile Event Class | Indicates statement-level recompilations caused by all types of batches: stored procedures, triggers, ad hoc batches, and queries. |
| SQL:StmtStarting Event Class | Indicates that a [!INCLUDEtsql] statement is starting. |
| Unprepare SQL Event Class | Indicates that the SqlClient, ODBC, OLE DB, or DB-Library has deleted a prepared [!INCLUDEtsql] statement or statements. |
| XQuery Static Type Event Class | Occurs when [!INCLUDEssNoVersion] executes an XQuery expression. |