Tables [dbo].[CustomerStatementRunStatementCycle]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)1
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_CustomerStatementRunStatementCycle: CustomerStatementRunStatementCycleIDCustomerStatementRunStatementCycleIDint4
No
1 - 1
Cluster Key IX_CustomerStatementRunStatementCycle_StatementCycleID: CustomerStatementRunFID\StatementCycleIDForeign Keys FK_CustomerStatementRunStatementCycle_CustomerStatementRun: [dbo].[CustomerStatementRun].CustomerStatementRunFIDCustomerStatementRunFIDint4
No
Cluster Key IX_CustomerStatementRunStatementCycle_StatementCycleID: CustomerStatementRunFID\StatementCycleIDStatementCycleIDsmallint2
Yes
StatementCyclevarchar(32)32
No
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_CustomerStatementRunStatementCycle: CustomerStatementRunStatementCycleIDPK_CustomerStatementRunStatementCycleCustomerStatementRunStatementCycleID
Yes
80
Cluster Key IX_CustomerStatementRunStatementCycle_StatementCycleID: CustomerStatementRunFID\StatementCycleIDIX_CustomerStatementRunStatementCycle_StatementCycleIDCustomerStatementRunFID, StatementCycleID
Yes
80
Foreign Keys Foreign Keys
NameColumns
FK_CustomerStatementRunStatementCycle_CustomerStatementRunCustomerStatementRunFID->[dbo].[CustomerStatementRun].[CustomerStatementRunID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[CustomerStatementRunStatementCycle]
(
[CustomerStatementRunStatementCycleID] [int] NOT NULL IDENTITY(1, 1),
[CustomerStatementRunFID] [int] NOT NULL,
[StatementCycleID] [smallint] NULL,
[StatementCycle] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[CustomerStatementRunStatementCycle] ADD CONSTRAINT [PK_CustomerStatementRunStatementCycle] PRIMARY KEY NONCLUSTERED  ([CustomerStatementRunStatementCycleID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[CustomerStatementRunStatementCycle] ADD CONSTRAINT [IX_CustomerStatementRunStatementCycle_StatementCycleID] UNIQUE CLUSTERED  ([CustomerStatementRunFID], [StatementCycleID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[CustomerStatementRunStatementCycle] ADD CONSTRAINT [FK_CustomerStatementRunStatementCycle_CustomerStatementRun] FOREIGN KEY ([CustomerStatementRunFID]) REFERENCES [dbo].[CustomerStatementRun] ([CustomerStatementRunID])
GO
GRANT SELECT ON  [dbo].[CustomerStatementRunStatementCycle] TO [MssExec]
GRANT INSERT ON  [dbo].[CustomerStatementRunStatementCycle] TO [MssExec]
GRANT DELETE ON  [dbo].[CustomerStatementRunStatementCycle] TO [MssExec]
GRANT UPDATE ON  [dbo].[CustomerStatementRunStatementCycle] TO [MssExec]
GO
Uses