[dbo].[RevenueImportType]
CREATE TABLE [dbo].[RevenueImportType]
(
[PriKey] [int] NOT NULL IDENTITY(1, 1),
[Name] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[VanlineGroupExternalCode] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[RevenueImportType] ADD CONSTRAINT [PK_RevenueImportType] PRIMARY KEY NONCLUSTERED ([PriKey]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[RevenueImportType] ADD CONSTRAINT [IX_RevenueImportType_Name] UNIQUE NONCLUSTERED ([Name]) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[RevenueImportType] TO [MssExec]
GRANT INSERT ON [dbo].[RevenueImportType] TO [MssExec]
GRANT DELETE ON [dbo].[RevenueImportType] TO [MssExec]
GRANT UPDATE ON [dbo].[RevenueImportType] TO [MssExec]
GO