CREATE TABLE [dbo].[ETLSourceDataProcessRecord](
[RecordID] [int] IDENTITY(1,1) NOT NULL,
[SourceSystemKey] [int] NULL,
[DataRangeStart] [nvarchar](40) NULL,
[DataRangeEnd] [nvarchar](40) NULL,
[LoadStatus] [int] NULL,
[LoadStartTime] [datetime] NULL,
[LoadEndTime] [datetime] NULL,
[ETLLoadType] [nvarchar](100) NULL,
[ProcessUserName] [nvarchar](100) NULL,
[InsertDate] [datetime] NULL,
[UpdateDate] [datetime] NULL,
[BatchID] [int] NULL
[RecordID] [int] IDENTITY(1,1) NOT NULL,
[SourceSystemKey] [int] NULL,
[DataRangeStart] [nvarchar](40) NULL,
[DataRangeEnd] [nvarchar](40) NULL,
[LoadStatus] [int] NULL,
[LoadStartTime] [datetime] NULL,
[LoadEndTime] [datetime] NULL,
[ETLLoadType] [nvarchar](100) NULL,
[ProcessUserName] [nvarchar](100) NULL,
[InsertDate] [datetime] NULL,
[UpdateDate] [datetime] NULL,
[BatchID] [int] NULL
)
CREATE TABLE [dbo].[ETLSourceDataProcessRecordByID](
[RecordID] [int] NOT NULL,
[SourceSystemKey] [int] NULL,
[DataRangeStartID] [nvarchar](40) NULL,
[DataRangeEndID] [nvarchar](40) NULL,
[LoadStatus] [int] NULL,
[LoadStartTime] [datetime] NULL,
[LoadEndTime] [datetime] NULL,
[ETLLoadType] [nvarchar](100) NULL,
[ProcessUserName] [nvarchar](100) NULL,
[InsertDate] [datetime] NULL,
[UpdateDate] [datetime] NULL,
[BatchID] [int] NULL
) ON [PRIMARY]