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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | SysDatabaseLogEntity | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | SysDatabaseLogEntity | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | SysDatabaseLogEntity | |
DataLogged data stored as a binary container. | ContainerBlobdata | No | SysDatabaseLogEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | SysDatabaseLogEntity | |
DescriptionText that identifies the record the log entry is about. | String (-1) | Yes | SysDatabaseLogEntity | |
LogRecIdSystem record ID of the logged record. | Int64RefRecId | Yes | Common.RecId | SysDatabaseLogEntity |
LogTypeType of log entry. | EnumDatabaseLogType (enum) | No | SysDatabaseLogEntity | |
NewDataLong text with the new data. Purpose not clear from the metadata.low confidence | String (-1) | No | SysDatabaseLogEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | SysDatabaseLogEntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | SysDatabaseLogEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | SysDatabaseLogEntity | |
SequenceNumberSequence number of the log entry. Purpose not clear from the metadata.low confidence | Int64 | No | SysDatabaseLogEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
SysRowVersionNumberRow version number of the record.low confidence | Int64SysRowVersionNumber | No | None | |
tableID of the table that the logged record belongs to. | IntegerRefTableId | Yes | SysDatabaseLogEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UsernameName of the user who created the log entry. | String (60)UserName | No | SysDatabaseLogEntity |
Indexes (1)
TableRecIdIdxtable,LogRecId,createdDateTimeNot unique.
Relations (1)
Each relation joins SysDataBaseLog to another table on the fields shown.
Relation1→CommonJoin on
LogRecId = Common.RecIdMany 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.
SysDatabaseLogEntity· 15 fields from this table
Need help with SysDataBaseLog in a report, an integration or a migration? Talk to Dr Dynamics.