Tables [dbo].[FactoringCustomer]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)0
Created8:43:52 AM Thursday, December 5, 2024
Last Modified8:43:52 AM Thursday, December 5, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_FactoringCustomer: FactoringCustomerIDFactoringCustomerIDint4
No
1 - 1
Indexes IX_FactoringCustomer_CustomerNumber: CustomerNumberCustomerNumbervarchar(15)15
No
Indexes Indexes
NameColumnsUnique
Primary Key PK_FactoringCustomer: FactoringCustomerIDPK_FactoringCustomerFactoringCustomerID
Yes
IX_FactoringCustomer_CustomerNumberCustomerNumber
Yes
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
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
Uses