![Tables](../../Images/Table.gif)
[dbo].[LocServXtraStopMap]
CREATE TABLE [dbo].[LocServXtraStopMap]
(
[LocServXtraStopMapID] [int] NOT NULL IDENTITY(1, 1),
[LocServFID] [int] NOT NULL,
[XtraStopFID] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[LocServXtraStopMap] ADD CONSTRAINT [PK_LocServXtraStopMap] PRIMARY KEY CLUSTERED ([LocServXtraStopMapID]) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [IX_LocServXtraStopMap_LocServFID_XtraStopFID] ON [dbo].[LocServXtraStopMap] ([LocServFID], [XtraStopFID]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_LocServXtraStopMap_XtraStopFID] ON [dbo].[LocServXtraStopMap] ([XtraStopFID]) INCLUDE ([LocServFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[LocServXtraStopMap] ADD CONSTRAINT [FK_LocServXtraStopMap_LocServ] FOREIGN KEY ([LocServFID]) REFERENCES [dbo].[LocServ] ([PriKey])
GO
ALTER TABLE [dbo].[LocServXtraStopMap] ADD CONSTRAINT [FK_LocServXtraStopMap_XtraStop] FOREIGN KEY ([XtraStopFID]) REFERENCES [dbo].[XtraStop] ([PriKey]) ON DELETE CASCADE
GO
GRANT SELECT ON [dbo].[LocServXtraStopMap] TO [MssExec]
GRANT INSERT ON [dbo].[LocServXtraStopMap] TO [MssExec]
GRANT DELETE ON [dbo].[LocServXtraStopMap] TO [MssExec]
GRANT UPDATE ON [dbo].[LocServXtraStopMap] TO [MssExec]
GO