
[dbo].[XLedgerSyncEntityType]
CREATE TABLE [dbo].[XLedgerSyncEntityType]
(
[XLedgerSyncEntityTypeId] [int] NOT NULL IDENTITY(1, 1),
[Name] [nvarchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XLedgerSyncEntityType] ADD CONSTRAINT [PK_XLedgerSyncEntityTypeId] PRIMARY KEY NONCLUSTERED ([XLedgerSyncEntityTypeId]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XLedgerSyncEntityType] ADD CONSTRAINT [IX_XLedgerSyncEntityType_Name] UNIQUE CLUSTERED ([Name]) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[XLedgerSyncEntityType] TO [MssExec]
GRANT INSERT ON [dbo].[XLedgerSyncEntityType] TO [MssExec]
GRANT DELETE ON [dbo].[XLedgerSyncEntityType] TO [MssExec]
GRANT UPDATE ON [dbo].[XLedgerSyncEntityType] TO [MssExec]
GO