You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|user_defined_event_id|**smallint**|**Applies to**: [!INCLUDE[ssSQL11](../../includes/sssql11-md.md)] through [!INCLUDE[ssCurrent](../../includes/sscurrent-md.md)].<br /><br /> User defined event id passed as an argument to **sp_audit_write**. **NULL** for system events (default) and non-zero for user-defined event. For more information, see [sp_audit_write (Transact-SQL)](../../relational-databases/system-stored-procedures/sp-audit-write-transact-sql.md).|
118
118
|user_defined_information|**nvarchar(4000)**|**Applies to**: [!INCLUDE[ssSQL11](../../includes/sssql11-md.md)] through [!INCLUDE[ssCurrent](../../includes/sscurrent-md.md)].<br /><br /> Used to record any extra information the user wants to record in |audit log by using the **sp_audit_write** stored procedure.|
119
119
|audit_schema_version |**int**||
120
-
|sequence_group_id |**varbinary**| SQL Server only (starting with 2016) |
121
-
|transaction_id |**bigint**| SQL Server only (starting with 2016) |
122
-
|client_ip |**nvarchar(128)**| Azure SQL DB + SQL Server (starting with 2017) |
123
-
|application_name |**nvarchar(128)**| Azure SQL DB + SQL Server (starting with 2017) |
124
-
|duration_milliseconds |**bigint**| Azure SQL DB only |
125
-
|response_rows |**bigint**| Azure SQL DB only |
126
-
|affected_rows |**bigint**| Azure SQL DB only |
120
+
|sequence_group_id |**varbinary**|**Applies to**: SQL Server only (starting with 2016) |
121
+
|transaction_id |**bigint**|**Applies to**: SQL Server only (starting with 2016) |
122
+
|client_ip |**nvarchar(128)**|**Applies to**: Azure SQL DB + SQL Server (starting with 2017) |
123
+
|application_name |**nvarchar(128)**|**Applies to**: Azure SQL DB + SQL Server (starting with 2017) |
124
+
|duration_milliseconds |**bigint**|**Applies to**: Azure SQL DB only |
125
+
|response_rows |**bigint**|**Applies to**: Azure SQL DB only |
126
+
|affected_rows |**bigint**|**Applies to**: Azure SQL DB only |
127
+
|connection_id |GUID |**Applies to**: Azure SQL DB only |
128
+
|data_sensitivity_information |nvarchar(4000) |**Applies to**: Azure SQL DB only |
127
129
128
130
## Remarks
129
131
If the *file_pattern* argument passed to **fn_get_audit_file** references a path or file that does not exist, or if the file is not an audit file, the **MSG_INVALID_AUDIT_FILE** error message is returned.
0 commit comments