[dbo].[RequireableFieldLocation]
CREATE TABLE [dbo].[RequireableFieldLocation]
(
[RequireableFieldLocationID] [int] NOT NULL IDENTITY(1, 1),
[FieldRequirementModuleFID] [int] NOT NULL,
[LocationDescription] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[RequireableFieldLocation] ADD CONSTRAINT [PK_RequireableFieldLocation] PRIMARY KEY NONCLUSTERED ([RequireableFieldLocationID]) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [IX_RequireableFieldLocation_FieldRequirementModuleFID_LocationDescription] ON [dbo].[RequireableFieldLocation] ([FieldRequirementModuleFID], [LocationDescription]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[RequireableFieldLocation] ADD CONSTRAINT [FK_RequireableFieldLocation_FieldRequirementModule] FOREIGN KEY ([FieldRequirementModuleFID]) REFERENCES [dbo].[FieldRequirementModule] ([FieldRequirementModuleID])
GO
GRANT SELECT ON [dbo].[RequireableFieldLocation] TO [MssExec]
GRANT INSERT ON [dbo].[RequireableFieldLocation] TO [MssExec]
GRANT DELETE ON [dbo].[RequireableFieldLocation] TO [MssExec]
GRANT UPDATE ON [dbo].[RequireableFieldLocation] TO [MssExec]
GO