Tables [dbo].[VanlineStatementDownloadLog]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created7:33:39 PM Thursday, August 29, 2024
Last Modified7:33:43 PM Thursday, August 29, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Cluster Primary Key PK_VanlineStatementDownloadLog: VanlineStatementDownloadLogIDIndexes IX_VanlineStatementDownloadLog_Header: VanlineStatementHeaderFID\VanlineStatementDownloadLogIDVanlineStatementDownloadLogIDint4
No
1 - 1
Foreign Keys FK_VanlineStatementDownloadLog_VanlineStatementHeader: [dbo].[VanlineStatementHeader].VanlineStatementHeaderFIDIndexes IX_VanlineStatementDownloadLog_Header: VanlineStatementHeaderFID\VanlineStatementDownloadLogIDVanlineStatementHeaderFIDint4
No
DataDatedatetime8
Yes
CloudReceivedDateUtcdatetime8
Yes
LocalDownloadDateUtcdatetime8
No
RawSourceMessagevarchar(max)max
Yes
IgnoreDownloadbit1
No
((0))
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_VanlineStatementDownloadLog: VanlineStatementDownloadLogIDPK_VanlineStatementDownloadLogVanlineStatementDownloadLogID
Yes
IX_VanlineStatementDownloadLog_HeaderVanlineStatementHeaderFID, VanlineStatementDownloadLogID
Foreign Keys Foreign Keys
NameColumns
FK_VanlineStatementDownloadLog_VanlineStatementHeaderVanlineStatementHeaderFID->[dbo].[VanlineStatementHeader].[VanlineStatementHeaderID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[VanlineStatementDownloadLog]
(
[VanlineStatementDownloadLogID] [int] NOT NULL IDENTITY(1, 1),
[VanlineStatementHeaderFID] [int] NOT NULL,
[DataDate] [datetime] NULL,
[CloudReceivedDateUtc] [datetime] NULL,
[LocalDownloadDateUtc] [datetime] NOT NULL,
[RawSourceMessage] [varchar] (max) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[IgnoreDownload] [bit] NOT NULL CONSTRAINT [DF_VanlineStatementDownloadLog_IgnoreDownload] DEFAULT ((0))
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE [dbo].[VanlineStatementDownloadLog] ADD CONSTRAINT [PK_VanlineStatementDownloadLog] PRIMARY KEY CLUSTERED  ([VanlineStatementDownloadLogID]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_VanlineStatementDownloadLog_Header] ON [dbo].[VanlineStatementDownloadLog] ([VanlineStatementHeaderFID], [VanlineStatementDownloadLogID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[VanlineStatementDownloadLog] ADD CONSTRAINT [FK_VanlineStatementDownloadLog_VanlineStatementHeader] FOREIGN KEY ([VanlineStatementHeaderFID]) REFERENCES [dbo].[VanlineStatementHeader] ([VanlineStatementHeaderID])
GO
GRANT SELECT ON  [dbo].[VanlineStatementDownloadLog] TO [MssExec]
GRANT INSERT ON  [dbo].[VanlineStatementDownloadLog] TO [MssExec]
GRANT DELETE ON  [dbo].[VanlineStatementDownloadLog] TO [MssExec]
GRANT UPDATE ON  [dbo].[VanlineStatementDownloadLog] TO [MssExec]
GO
Uses
Used By