
[dbo].[AccountingCustomerCreditLimitType]
CREATE TABLE [dbo].[AccountingCustomerCreditLimitType]
(
[AccountingCustomerCreditLimitTypeId] [int] NOT NULL IDENTITY(1, 1),
[TypeName] [varchar] (15) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[GPCreditLimitTypeCode] [smallint] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AccountingCustomerCreditLimitType] ADD CONSTRAINT [PK_AccountingCustomerCreditLimitType] PRIMARY KEY NONCLUSTERED ([AccountingCustomerCreditLimitTypeId]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AccountingCustomerCreditLimitType] ADD CONSTRAINT [IX_AccountingCustomerCreditLimitType_GPCreditLimitTypeCode] UNIQUE NONCLUSTERED ([GPCreditLimitTypeCode]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AccountingCustomerCreditLimitType] ADD CONSTRAINT [IX_AccountingCustomerCreditLimitType_TypeName] UNIQUE CLUSTERED ([TypeName]) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[AccountingCustomerCreditLimitType] TO [MssExec]
GRANT INSERT ON [dbo].[AccountingCustomerCreditLimitType] TO [MssExec]
GRANT DELETE ON [dbo].[AccountingCustomerCreditLimitType] TO [MssExec]
GRANT UPDATE ON [dbo].[AccountingCustomerCreditLimitType] TO [MssExec]
GO