Tables [dbo].[StatementDetailContact]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)18160
Created4:57:09 PM Thursday, September 7, 2006
Last Modified3:44:14 PM Tuesday, November 18, 2014
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_StatementDetailContact: StatementDetailContactIDStatementDetailContactIDint4
No
1 - 1
Foreign Keys FK_StatementDetailContact_StatementDetail: [dbo].[StatementDetail].StatementDetailFIDIndexes IX_StatementDetailContact_StatementDetailFID: StatementDetailFIDStatementDetailFIDint4
No
LastNamevarchar(26)26
Yes
FirstNamevarchar(16)16
Yes
Indexes Indexes
NameColumnsUniqueFill Factor
Cluster Primary Key PK_StatementDetailContact: StatementDetailContactIDPK_StatementDetailContactStatementDetailContactID
Yes
80
IX_StatementDetailContact_StatementDetailFIDStatementDetailFID
Yes
Foreign Keys Foreign Keys
NameColumns
FK_StatementDetailContact_StatementDetailStatementDetailFID->[dbo].[StatementDetail].[SDPriKey]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[StatementDetailContact]
(
[StatementDetailContactID] [int] NOT NULL IDENTITY(1, 1),
[StatementDetailFID] [int] NOT NULL,
[LastName] [varchar] (26) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[FirstName] [varchar] (16) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[StatementDetailContact] ADD CONSTRAINT [PK_StatementDetailContact] PRIMARY KEY CLUSTERED  ([StatementDetailContactID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [IX_StatementDetailContact_StatementDetailFID] ON [dbo].[StatementDetailContact] ([StatementDetailFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[StatementDetailContact] ADD CONSTRAINT [FK_StatementDetailContact_StatementDetail] FOREIGN KEY ([StatementDetailFID]) REFERENCES [dbo].[StatementDetail] ([SDPriKey])
GO
GRANT SELECT ON  [dbo].[StatementDetailContact] TO [MssExec]
GRANT INSERT ON  [dbo].[StatementDetailContact] TO [MssExec]
GRANT DELETE ON  [dbo].[StatementDetailContact] TO [MssExec]
GRANT UPDATE ON  [dbo].[StatementDetailContact] TO [MssExec]
GO
Uses
Used By