[dbo].[ClaimTemporaryVendorMap]
CREATE TABLE [dbo].[ClaimTemporaryVendorMap]
(
[ClaimTemporaryVendorMapID] [int] NOT NULL IDENTITY(1, 1),
[ClaimFID] [int] NOT NULL,
[TemporaryVendorFID] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ClaimTemporaryVendorMap] ADD CONSTRAINT [PK_ClaimTemporaryVendorMapID] PRIMARY KEY NONCLUSTERED ([ClaimTemporaryVendorMapID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ClaimTemporaryVendorMap] ADD CONSTRAINT [FK_ClaimTemporaryVendorMap_Claim] FOREIGN KEY ([ClaimFID]) REFERENCES [dbo].[Claim] ([ClaimID])
GO
ALTER TABLE [dbo].[ClaimTemporaryVendorMap] ADD CONSTRAINT [FK_ClaimTemporaryVendorMap_TemporaryVendor] FOREIGN KEY ([TemporaryVendorFID]) REFERENCES [dbo].[TemporaryVendor] ([TemporaryVendorID])
GO
GRANT SELECT ON [dbo].[ClaimTemporaryVendorMap] TO [MssExec]
GRANT INSERT ON [dbo].[ClaimTemporaryVendorMap] TO [MssExec]
GRANT DELETE ON [dbo].[ClaimTemporaryVendorMap] TO [MssExec]
GRANT UPDATE ON [dbo].[ClaimTemporaryVendorMap] TO [MssExec]
GO