<< Click to Display Table of Contents >> Navigation: iVend Database Database > Tables > CfgAuditLogMaster Table |
Navigation: iVend Database Database > Tables >
iVend 6.6 Database Help
CfgAuditLogMaster Table
Collapse All Expand All
iVend Database Database : CfgAuditLogMaster Table |
Description
System Table. Stores the list of tables for which the system logs are generated.
Properties
Creation Date |
12/3/2015 10:29 AM |
File Group |
PRIMARY |
Text File Group |
PRIMARY |
System Object |
|
Published for Replication |
|
Rows |
202 |
Data Space Used |
56.00 KB |
Index Space Used |
16.00 KB |
Columns
|
Column Name |
Description |
Datatype |
Length |
Allow Nulls |
Default |
Formula |
AuditLogMasterKey |
System generated Primary key of the table. |
VarWChar |
50 |
|
|
|
|
|
ObjectId |
Value refers to the id of the object being logged. |
BigInt |
8 |
|
|
|
|
TableName |
Value refers to table name of the object being logged. |
VarWChar |
255 |
|
|
|
|
PrimaryKeyColumn |
Value refers to the Primary Key column of the table of the object. |
VarWChar |
255 |
|
|
|
|
RecordId |
Reference of the id for the record being logged. |
VarWChar |
255 |
|
|
|
|
Query |
Value refers to the from clause of the query which is used to fetch information to log. |
LongVarWChar |
16 |
|
|
|
|
IsLoggingEnabled |
Value is True if the logging is enabled else False |
Boolean |
1 |
|
((0)) |
|
|
ObjectName |
Value refers to the Name of the object being logged. |
VarWChar |
255 |
|
|
|
|
Created |
Date of creation of the record |
DBTimeStamp |
4 |
|
(getdate()) |
|
|
CreatedBy |
Reference of user who has created this record. See also Security User |
VarWChar |
50 |
|
((1)) |
|
|
Modified |
Date of last modification of this record |
DBTimeStamp |
4 |
|
(getdate()) |
|
|
ModifiedBy |
Reference of user who has modified this record. See also Security User |
VarWChar |
50 |
|
((1)) |
|
Indexes
Index |
Description |
Primary |
Unique |
|
Objects that depend on CfgAuditLogMaster
|
Database Object |
Object Type |
Description |
Dep Level |
Stored Procedure |
|
1 |
||
Stored Procedure |
|
1 |
SQL
SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON CREATE TABLE [dbo].[CfgAuditLogMaster]( [AuditLogMasterKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [ObjectId] [bigint] NOT NULL, [TableName] [nvarchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [PrimaryKeyColumn] [nvarchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [RecordId] [nvarchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [Query] [nvarchar](max) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [IsLoggingEnabled] [bit] NOT NULL, [ObjectName] [nvarchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Created] [datetime] NOT NULL, [CreatedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [Modified] [datetime] NOT NULL, [ModifiedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, CONSTRAINT [PK_AuditLogMaster] PRIMARY KEY CLUSTERED ( [AuditLogMasterKey] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] ALTER TABLE [dbo].[CfgAuditLogMaster] ADD CONSTRAINT [DF_CfgAuditLogMaster_EnableLogging] DEFAULT ((0)) FOR [IsLoggingEnabled] ALTER TABLE [dbo].[CfgAuditLogMaster] ADD CONSTRAINT [DF_CfgAuditLogMaster_Created] DEFAULT (getdate()) FOR [Created] ALTER TABLE [dbo].[CfgAuditLogMaster] ADD CONSTRAINT [DF_CfgAuditLogMaster_CreatedBy] DEFAULT ((1)) FOR [CreatedBy] ALTER TABLE [dbo].[CfgAuditLogMaster] ADD CONSTRAINT [DF_CfgAuditLogMaster_Modified] DEFAULT (getdate()) FOR [Modified] ALTER TABLE [dbo].[CfgAuditLogMaster] ADD CONSTRAINT [DF_CfgAuditLogMaster_ModifiedBy] DEFAULT ((1)) FOR [ModifiedBy] |
See Also
© 2019 All Rights Reserved.
Send comments on this topic.