[dbo].[FactoringCustomer]
CREATE TABLE [dbo].[FactoringCustomer]
(
[FactoringCustomerID] [int] NOT NULL IDENTITY(1, 1),
[CustomerNumber] [varchar] (15) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[FactoringCustomer] ADD CONSTRAINT [PK_FactoringCustomer] PRIMARY KEY NONCLUSTERED ([FactoringCustomerID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[FactoringCustomer] ADD CONSTRAINT [IX_FactoringCustomer_CustomerNumber] UNIQUE NONCLUSTERED ([CustomerNumber]) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[FactoringCustomer] TO [MssExec]
GRANT INSERT ON [dbo].[FactoringCustomer] TO [MssExec]
GRANT DELETE ON [dbo].[FactoringCustomer] TO [MssExec]
GRANT UPDATE ON [dbo].[FactoringCustomer] TO [MssExec]
GO