![Tables](../../Images/Table.gif)
[dbo].[DocumentAutoDownloadRuleItem]
CREATE TABLE [dbo].[DocumentAutoDownloadRuleItem]
(
[DocumentAutoDownloadRuleItemID] [int] NOT NULL IDENTITY(1, 1),
[ItemDescription] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[TableName] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[PriKeyName] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[DetailKeyTableName] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[DetailKeyColumnName] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[DetailLookupDescription] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[SqlText] [nvarchar] (5) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[ParenthesisCount] [smallint] NOT NULL,
[IsBooleanCombiner] [bit] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[DocumentAutoDownloadRuleItem] ADD CONSTRAINT [PK_DocumentAutoDownloadRuleItem] PRIMARY KEY CLUSTERED ([DocumentAutoDownloadRuleItemID]) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[DocumentAutoDownloadRuleItem] TO [MssExec]
GRANT INSERT ON [dbo].[DocumentAutoDownloadRuleItem] TO [MssExec]
GRANT DELETE ON [dbo].[DocumentAutoDownloadRuleItem] TO [MssExec]
GRANT UPDATE ON [dbo].[DocumentAutoDownloadRuleItem] TO [MssExec]
GO