Table

SysDataBaseLog

Database Log

Stores database log entries. Each row refers to a changed record by table ID and record ID, and holds the log type, the creator name and the logged data. It has no defined key and is used by the SysDatabaseLogEntity entity.

Table name
SysDataBaseLog
Module
System administration
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
SysDatabaseLog
Primary index
RecId
Replacement key
None
Key fields
None
Model
ApplicationPlatform

Fields (18)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoSysDatabaseLogEntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoSysDatabaseLogEntity
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoSysDatabaseLogEntity
DataLogged data stored as a binary container.Container
Blobdata
NoSysDatabaseLogEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoSysDatabaseLogEntity
DescriptionText that identifies the record the log entry is about.String (-1)YesSysDatabaseLogEntity
LogRecIdSystem record ID of the logged record.Int64
RefRecId
YesCommon.RecIdSysDatabaseLogEntity
LogTypeType of log entry.Enum
DatabaseLogType (enum)
NoSysDatabaseLogEntity
NewDataLong text with the new data. Purpose not clear from the metadata.low confidenceString (-1)NoSysDatabaseLogEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoSysDatabaseLogEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoSysDatabaseLogEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoSysDatabaseLogEntity
SequenceNumberSequence number of the log entry. Purpose not clear from the metadata.low confidenceInt64NoSysDatabaseLogEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
SysRowVersionNumberRow version number of the record.low confidenceInt64
SysRowVersionNumber
NoNone
tableID of the table that the logged record belongs to.Integer
RefTableId
YesSysDatabaseLogEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UsernameName of the user who created the log entry.String (60)
UserName
NoSysDatabaseLogEntity

Indexes (1)

Relations (1)

Each relation joins SysDataBaseLog to another table on the fields shown.

  • Relation1 → Common

    Join on LogRecId = Common.RecId

    Many SysDataBaseLog records → exactly one Common record

Get this data out

Tables are not exposed directly. These public entities read from SysDataBaseLog; use one of them in Power BI, Power Platform or a data management project.

Need help with SysDataBaseLog in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk