Tables [dbo].[InvoicedGroupRollup]
Properties
PropertyValue
Row Count (~)3970
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_InvoicedGroupRollupID: InvoicedGroupRollupIDInvoicedGroupRollupIDint4
No
1 - 1
Cluster Key IX_InvoicedGroupRollup_InvoicedGroupFID: InvoicedGroupFIDForeign Keys FK_InvoicedGroupRollup_InvoicedGroup: [dbo].[InvoicedGroup].InvoicedGroupFIDInvoicedGroupFIDint4
No
BillingMinorItemFIDint4
No
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_InvoicedGroupRollupID: InvoicedGroupRollupIDPK_InvoicedGroupRollupIDInvoicedGroupRollupID
Yes
80
Cluster Key IX_InvoicedGroupRollup_InvoicedGroupFID: InvoicedGroupFIDIX_InvoicedGroupRollup_InvoicedGroupFIDInvoicedGroupFID80
Foreign Keys Foreign Keys
NameUpdateDeleteColumns
FK_InvoicedGroupRollup_InvoicedGroupCascadeCascadeInvoicedGroupFID->[dbo].[InvoicedGroup].[IGPriKey]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[InvoicedGroupRollup]
(
[InvoicedGroupRollupID] [int] NOT NULL IDENTITY(1, 1),
[InvoicedGroupFID] [int] NOT NULL,
[BillingMinorItemFID] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[InvoicedGroupRollup] ADD CONSTRAINT [PK_InvoicedGroupRollupID] PRIMARY KEY NONCLUSTERED  ([InvoicedGroupRollupID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
CREATE CLUSTERED INDEX [IX_InvoicedGroupRollup_InvoicedGroupFID] ON [dbo].[InvoicedGroupRollup] ([InvoicedGroupFID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[InvoicedGroupRollup] ADD CONSTRAINT [FK_InvoicedGroupRollup_InvoicedGroup] FOREIGN KEY ([InvoicedGroupFID]) REFERENCES [dbo].[InvoicedGroup] ([IGPriKey]) ON DELETE CASCADE ON UPDATE CASCADE
GO
GRANT SELECT ON  [dbo].[InvoicedGroupRollup] TO [MssExec]
GRANT INSERT ON  [dbo].[InvoicedGroupRollup] TO [MssExec]
GRANT DELETE ON  [dbo].[InvoicedGroupRollup] TO [MssExec]
GRANT UPDATE ON  [dbo].[InvoicedGroupRollup] TO [MssExec]
GO
Uses