Tables [dbo].[ClaimEmailAddress]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)78
Created10:12:49 PM Thursday, December 28, 2006
Last Modified3:48:40 PM Thursday, December 6, 2018
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_ClaimEmailAddress: ClaimEmailAddressIDClaimEmailAddressIDint4
No
1 - 1
Foreign Keys FK_ClaimEmailAddress_Claim: [dbo].[Claim].ClaimFIDIndexes IX_ClaimEmailAddress_ClaimAndEmailAddressType: ClaimFID\EmailAddressTypeFIDClaimFIDint4
No
Foreign Keys FK_ClaimEmailAddress_EmailAddressType: [dbo].[EmailAddressType].EmailAddressTypeFIDIndexes IX_ClaimEmailAddress_ClaimAndEmailAddressType: ClaimFID\EmailAddressTypeFIDEmailAddressTypeFIDint4
No
EmailAddress[dbo].[EmailAddress]50
No
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_ClaimEmailAddress: ClaimEmailAddressIDPK_ClaimEmailAddressClaimEmailAddressID
Yes
80
IX_ClaimEmailAddress_ClaimAndEmailAddressTypeClaimFID, EmailAddressTypeFID
Yes
80
Foreign Keys Foreign Keys
NameColumns
FK_ClaimEmailAddress_ClaimClaimFID->[dbo].[Claim].[ClaimID]
FK_ClaimEmailAddress_EmailAddressTypeEmailAddressTypeFID->[dbo].[EmailAddressType].[EmailAddressTypeID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[ClaimEmailAddress]
(
[ClaimEmailAddressID] [int] NOT NULL IDENTITY(1, 1),
[ClaimFID] [int] NOT NULL,
[EmailAddressTypeFID] [int] NOT NULL,
[EmailAddress] [dbo].[EmailAddress] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ClaimEmailAddress] ADD CONSTRAINT [PK_ClaimEmailAddress] PRIMARY KEY NONCLUSTERED  ([ClaimEmailAddressID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ClaimEmailAddress] ADD CONSTRAINT [IX_ClaimEmailAddress_ClaimAndEmailAddressType] UNIQUE NONCLUSTERED  ([ClaimFID], [EmailAddressTypeFID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ClaimEmailAddress] ADD CONSTRAINT [FK_ClaimEmailAddress_Claim] FOREIGN KEY ([ClaimFID]) REFERENCES [dbo].[Claim] ([ClaimID])
GO
ALTER TABLE [dbo].[ClaimEmailAddress] ADD CONSTRAINT [FK_ClaimEmailAddress_EmailAddressType] FOREIGN KEY ([EmailAddressTypeFID]) REFERENCES [dbo].[EmailAddressType] ([EmailAddressTypeID])
GO
GRANT SELECT ON  [dbo].[ClaimEmailAddress] TO [MssExec]
GRANT INSERT ON  [dbo].[ClaimEmailAddress] TO [MssExec]
GRANT DELETE ON  [dbo].[ClaimEmailAddress] TO [MssExec]
GRANT UPDATE ON  [dbo].[ClaimEmailAddress] TO [MssExec]
GO
Uses
Used By