Tables [dbo].[XmlInternationalRegionCoorMap]
Properties
PropertyValue
Row Count (~)0
Created8:59:42 AM Friday, December 7, 2018
Last Modified8:59:42 AM Friday, December 7, 2018
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_XmlInternationalRegionCoorMap: XmlInternationalRegionCoorMapIDXmlInternationalRegionCoorMapIDint4
No
1 - 1
Cluster Key IX_XmlInternationalRegionCoorMap_InternationalRegion_SysUser: InternationalRegionFID\SysUserFIDForeign Keys FK_XmlInternationalRegionCoorMap_SysUser: [dbo].[Sysuser].SysUserFIDIndexes IX_XmlInternationalRegionCoorMap_SysUserFID: SysUserFIDSysUserFIDint4
No
Cluster Key IX_XmlInternationalRegionCoorMap_InternationalRegion_SysUser: InternationalRegionFID\SysUserFIDForeign Keys FK_XmlInternationalRegionCoorMap_InternationalRegion: [dbo].[InternationalRegion].InternationalRegionFIDInternationalRegionFIDint4
No
Indexes Indexes
NameColumnsUnique
Primary Key PK_XmlInternationalRegionCoorMap: XmlInternationalRegionCoorMapIDPK_XmlInternationalRegionCoorMapXmlInternationalRegionCoorMapID
Yes
Cluster Key IX_XmlInternationalRegionCoorMap_InternationalRegion_SysUser: InternationalRegionFID\SysUserFIDIX_XmlInternationalRegionCoorMap_InternationalRegion_SysUserInternationalRegionFID, SysUserFID
Yes
IX_XmlInternationalRegionCoorMap_SysUserFIDSysUserFID
Yes
Foreign Keys Foreign Keys
NameColumns
FK_XmlInternationalRegionCoorMap_InternationalRegionInternationalRegionFID->[dbo].[InternationalRegion].[InternationalRegionID]
FK_XmlInternationalRegionCoorMap_SysUserSysUserFID->[dbo].[Sysuser].[SysUserID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
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
Uses