[dbo].[StatementDetailContact]
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