Analysis-Services/AsPartitionProcessing/AsPartitionProcessing.ConfigurationLogging/dbo/Tables/ProcessingLog.sql
Christian Wade 9304105c69 1400 v1
2017-04-17 20:14:33 -07:00

11 lines
556 B
Transact-SQL

CREATE TABLE [dbo].[ProcessingLog] (
[PartitioningLogID] INT IDENTITY (1, 1) NOT NULL,
[ModelConfigurationID] INT NOT NULL,
[ExecutionID] CHAR (36) NOT NULL,
[LogDateTime] DATETIME NOT NULL,
[Message] VARCHAR (8000) NOT NULL,
CONSTRAINT [PK_ProcessingLog] PRIMARY KEY CLUSTERED ([PartitioningLogID] ASC),
CONSTRAINT [FK_ProcessingLog_ModelConfiguration] FOREIGN KEY ([ModelConfigurationID]) REFERENCES [dbo].[ModelConfiguration] ([ModelConfigurationID])
);