Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 1.74 KB

logmarkhistory-transact-sql.md

File metadata and controls

38 lines (32 loc) · 1.74 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic f1_keywords helpviewer_keywords dev_langs
logmarkhistory (Transact-SQL)
logmarkhistory (Transact-SQL)
VanMSFT
vanto
06/10/2016
sql
system-objects
reference
logmarkhistory
logmarkhistory_TSQL
logmarkhistory system table
TSQL

logmarkhistory (Transact-SQL)

[!INCLUDE SQL Server]

Contains one row for each marked transaction that has been committed. This table is stored in the msdb database.

Column name Data type Description
database_name nvarchar(128) Local database where marked transaction occurred.
mark_name nvarchar(128) User-provided name for marked transaction.
description nvarchar(255) User-provided description of the marked transaction. Can be NULL.
user_name nvarchar(128) Database user name that performed marked transaction. Can be NULL.
lsn numeric(25,0) Log sequence number of transaction record where mark occurred.
mark_time datetime Commit time of marked transaction (local time).

See Also

Restore a Database to a Marked Transaction (SQL Server Management Studio)
Use Marked Transactions to Recover Related Databases Consistently (Full Recovery Model)
System Tables (Transact-SQL)