[dbo].[XmlInternationalRegionCoorMap]
CREATE TABLE [dbo].[XmlInternationalRegionCoorMap]
(
[XmlInternationalRegionCoorMapID] [int] NOT NULL IDENTITY(1, 1),
[SysUserFID] [int] NOT NULL,
[InternationalRegionFID] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalRegionCoorMap] ADD CONSTRAINT [PK_XmlInternationalRegionCoorMap] PRIMARY KEY NONCLUSTERED ([XmlInternationalRegionCoorMapID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalRegionCoorMap] ADD CONSTRAINT [IX_XmlInternationalRegionCoorMap_InternationalRegion_SysUser] UNIQUE CLUSTERED ([InternationalRegionFID], [SysUserFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalRegionCoorMap] ADD CONSTRAINT [IX_XmlInternationalRegionCoorMap_SysUserFID] UNIQUE NONCLUSTERED ([SysUserFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalRegionCoorMap] ADD CONSTRAINT [FK_XmlInternationalRegionCoorMap_InternationalRegion] FOREIGN KEY ([InternationalRegionFID]) REFERENCES [dbo].[InternationalRegion] ([InternationalRegionID])
GO
ALTER TABLE [dbo].[XmlInternationalRegionCoorMap] ADD CONSTRAINT [FK_XmlInternationalRegionCoorMap_SysUser] FOREIGN KEY ([SysUserFID]) REFERENCES [dbo].[Sysuser] ([SysUserID])
GO
GRANT SELECT ON [dbo].[XmlInternationalRegionCoorMap] TO [MssExec]
GRANT INSERT ON [dbo].[XmlInternationalRegionCoorMap] TO [MssExec]
GRANT DELETE ON [dbo].[XmlInternationalRegionCoorMap] TO [MssExec]
GRANT UPDATE ON [dbo].[XmlInternationalRegionCoorMap] TO [MssExec]
GO