Tables [dbo].[CustomerStatementRunCustomerClass]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)940
Created10:12:49 PM Thursday, December 28, 2006
Last Modified11:13:39 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_CustomerStatementRunCustomerClass: CustomerStatementRunCustomerClassIDCustomerStatementRunCustomerClassIDint4
No
1 - 1
Cluster Key IX_CustomerStatementRunCustomerClass_CustomerClass: CustomerStatementRunFID\CustomerClassForeign Keys FK_CustomerStatementRunCustomerClass_CustomerStatementRun: [dbo].[CustomerStatementRun].CustomerStatementRunFIDCustomerStatementRunFIDint4
No
Cluster Key IX_CustomerStatementRunCustomerClass_CustomerClass: CustomerStatementRunFID\CustomerClassCustomerClassvarchar(15)15
No
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_CustomerStatementRunCustomerClass: CustomerStatementRunCustomerClassIDPK_CustomerStatementRunCustomerClassCustomerStatementRunCustomerClassID
Yes
80
Cluster Key IX_CustomerStatementRunCustomerClass_CustomerClass: CustomerStatementRunFID\CustomerClassIX_CustomerStatementRunCustomerClass_CustomerClassCustomerStatementRunFID, CustomerClass
Yes
80
Foreign Keys Foreign Keys
NameColumns
FK_CustomerStatementRunCustomerClass_CustomerStatementRunCustomerStatementRunFID->[dbo].[CustomerStatementRun].[CustomerStatementRunID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[CustomerStatementRunCustomerClass]
(
[CustomerStatementRunCustomerClassID] [int] NOT NULL IDENTITY(1, 1),
[CustomerStatementRunFID] [int] NOT NULL,
[CustomerClass] [varchar] (15) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[CustomerStatementRunCustomerClass] ADD CONSTRAINT [PK_CustomerStatementRunCustomerClass] PRIMARY KEY NONCLUSTERED  ([CustomerStatementRunCustomerClassID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[CustomerStatementRunCustomerClass] ADD CONSTRAINT [IX_CustomerStatementRunCustomerClass_CustomerClass] UNIQUE CLUSTERED  ([CustomerStatementRunFID], [CustomerClass]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[CustomerStatementRunCustomerClass] ADD CONSTRAINT [FK_CustomerStatementRunCustomerClass_CustomerStatementRun] FOREIGN KEY ([CustomerStatementRunFID]) REFERENCES [dbo].[CustomerStatementRun] ([CustomerStatementRunID])
GO
GRANT SELECT ON  [dbo].[CustomerStatementRunCustomerClass] TO [MssExec]
GRANT INSERT ON  [dbo].[CustomerStatementRunCustomerClass] TO [MssExec]
GRANT DELETE ON  [dbo].[CustomerStatementRunCustomerClass] TO [MssExec]
GRANT UPDATE ON  [dbo].[CustomerStatementRunCustomerClass] TO [MssExec]
GO
Uses