Tables [dbo].[ClaimSettlementItem]
Properties
PropertyValue
HeapYes
Row Count (~)1659
Created6:18:18 PM Tuesday, February 27, 2007
Last Modified11:13:38 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_ClaimSettlementItem: ClaimSettlementItemIDIndexes IX_ClaimSettlementItem_ClaimItem: ClaimSettlementItemID\Amount\ClaimItemFID\ClaimSettlementFIDClaimSettlementItemIDint4
No
1 - 1
Foreign Keys FK_ClaimSettlementItem_Settlement: [dbo].[ClaimSettlement].ClaimSettlementFIDIndexes IX_ClaimSettlementItem_ClaimItem: ClaimSettlementItemID\Amount\ClaimItemFID\ClaimSettlementFIDStatistics STATS_ClaimSettlementItem: ClaimItemFID\ClaimSettlementFIDClaimSettlementFIDint4
No
Foreign Keys FK_ClaimSettlementItem_ClaimItem: [dbo].[ClaimItem].ClaimItemFIDIndexes IX_ClaimSettlementItem_ClaimItem: ClaimSettlementItemID\Amount\ClaimItemFID\ClaimSettlementFIDStatistics STATS_ClaimSettlementItem: ClaimItemFID\ClaimSettlementFIDClaimItemFIDint4
No
Indexes IX_ClaimSettlementItem_ClaimItem: ClaimSettlementItemID\Amount\ClaimItemFID\ClaimSettlementFIDAmountmoney8
Yes
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_ClaimSettlementItem: ClaimSettlementItemIDPK_ClaimSettlementItemClaimSettlementItemID
Yes
80
IX_ClaimSettlementItem_ClaimItemClaimSettlementItemID, Amount, ClaimItemFID, ClaimSettlementFID80
Statistics Statistics
NameColumns
STATS_ClaimSettlementItemClaimItemFID, ClaimSettlementFID
Foreign Keys Foreign Keys
NameDeleteColumns
FK_ClaimSettlementItem_ClaimItemCascadeClaimItemFID->[dbo].[ClaimItem].[ClaimItemID]
FK_ClaimSettlementItem_SettlementCascadeClaimSettlementFID->[dbo].[ClaimSettlement].[ClaimSettlementID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[ClaimSettlementItem]
(
[ClaimSettlementItemID] [int] NOT NULL IDENTITY(1, 1),
[ClaimSettlementFID] [int] NOT NULL,
[ClaimItemFID] [int] NOT NULL,
[Amount] [money] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ClaimSettlementItem] ADD CONSTRAINT [PK_ClaimSettlementItem] PRIMARY KEY NONCLUSTERED  ([ClaimSettlementItemID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_ClaimSettlementItem_ClaimItem] ON [dbo].[ClaimSettlementItem] ([ClaimItemFID], [ClaimSettlementFID]) INCLUDE ([Amount], [ClaimSettlementItemID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
CREATE STATISTICS [STATS_ClaimSettlementItem] ON [dbo].[ClaimSettlementItem] ([ClaimItemFID], [ClaimSettlementFID])
GO
ALTER TABLE [dbo].[ClaimSettlementItem] ADD CONSTRAINT [FK_ClaimSettlementItem_ClaimItem] FOREIGN KEY ([ClaimItemFID]) REFERENCES [dbo].[ClaimItem] ([ClaimItemID]) ON DELETE CASCADE
GO
ALTER TABLE [dbo].[ClaimSettlementItem] ADD CONSTRAINT [FK_ClaimSettlementItem_Settlement] FOREIGN KEY ([ClaimSettlementFID]) REFERENCES [dbo].[ClaimSettlement] ([ClaimSettlementID]) ON DELETE CASCADE
GO
GRANT SELECT ON  [dbo].[ClaimSettlementItem] TO [MssExec]
GRANT INSERT ON  [dbo].[ClaimSettlementItem] TO [MssExec]
GRANT DELETE ON  [dbo].[ClaimSettlementItem] TO [MssExec]
GRANT UPDATE ON  [dbo].[ClaimSettlementItem] TO [MssExec]
GO
Uses