Tables [dbo].[XmlInternationalRegionMap]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
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_XmlInternationalRegionMap: XmlInternationalRegionMapIDXmlInternationalRegionMapIDint4
No
1 - 1
Cluster Key IX_XmlInternationalRegionMap_InternationalRegionFID_XMLInterface_ExternalCode: InternationalRegionFID\XmlInterfaceFID\ExternalCodeForeign Keys FK_XmlInternationalRegionMap_XmlInterface: [dbo].[XmlInterface].XmlInterfaceFIDIndexes IX_XmlInternationalRegionMap_XMLInterface_ExternalCode: XmlInterfaceFID\ExternalCodeXmlInterfaceFIDint4
No
Cluster Key IX_XmlInternationalRegionMap_InternationalRegionFID_XMLInterface_ExternalCode: InternationalRegionFID\XmlInterfaceFID\ExternalCodeForeign Keys FK_XmlInternationalRegionMap_InternationalRegion: [dbo].[InternationalRegion].InternationalRegionFIDInternationalRegionFIDint4
No
Cluster Key IX_XmlInternationalRegionMap_InternationalRegionFID_XMLInterface_ExternalCode: InternationalRegionFID\XmlInterfaceFID\ExternalCodeIndexes IX_XmlInternationalRegionMap_XMLInterface_ExternalCode: XmlInterfaceFID\ExternalCodeExternalCodevarchar(32)32
No
Indexes Indexes
NameColumnsUnique
Primary Key PK_XmlInternationalRegionMap: XmlInternationalRegionMapIDPK_XmlInternationalRegionMapXmlInternationalRegionMapID
Yes
Cluster Key IX_XmlInternationalRegionMap_InternationalRegionFID_XMLInterface_ExternalCode: InternationalRegionFID\XmlInterfaceFID\ExternalCodeIX_XmlInternationalRegionMap_InternationalRegionFID_XMLInterface_ExternalCodeInternationalRegionFID, XmlInterfaceFID, ExternalCode
Yes
IX_XmlInternationalRegionMap_XMLInterface_ExternalCodeXmlInterfaceFID, ExternalCode
Yes
Foreign Keys Foreign Keys
NameColumns
FK_XmlInternationalRegionMap_InternationalRegionInternationalRegionFID->[dbo].[InternationalRegion].[InternationalRegionID]
FK_XmlInternationalRegionMap_XmlInterfaceXmlInterfaceFID->[dbo].[XmlInterface].[XmlInterfaceID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[XmlInternationalRegionMap]
(
[XmlInternationalRegionMapID] [int] NOT NULL IDENTITY(1, 1),
[XmlInterfaceFID] [int] NOT NULL,
[InternationalRegionFID] [int] NOT NULL,
[ExternalCode] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalRegionMap] ADD CONSTRAINT [PK_XmlInternationalRegionMap] PRIMARY KEY NONCLUSTERED  ([XmlInternationalRegionMapID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalRegionMap] ADD CONSTRAINT [IX_XmlInternationalRegionMap_InternationalRegionFID_XMLInterface_ExternalCode] UNIQUE CLUSTERED  ([InternationalRegionFID], [XmlInterfaceFID], [ExternalCode]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalRegionMap] ADD CONSTRAINT [IX_XmlInternationalRegionMap_XMLInterface_ExternalCode] UNIQUE NONCLUSTERED  ([XmlInterfaceFID], [ExternalCode]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalRegionMap] ADD CONSTRAINT [FK_XmlInternationalRegionMap_InternationalRegion] FOREIGN KEY ([InternationalRegionFID]) REFERENCES [dbo].[InternationalRegion] ([InternationalRegionID])
GO
ALTER TABLE [dbo].[XmlInternationalRegionMap] ADD CONSTRAINT [FK_XmlInternationalRegionMap_XmlInterface] FOREIGN KEY ([XmlInterfaceFID]) REFERENCES [dbo].[XmlInterface] ([XmlInterfaceID])
GO
GRANT SELECT ON  [dbo].[XmlInternationalRegionMap] TO [MssExec]
GRANT INSERT ON  [dbo].[XmlInternationalRegionMap] TO [MssExec]
GRANT DELETE ON  [dbo].[XmlInternationalRegionMap] TO [MssExec]
GRANT UPDATE ON  [dbo].[XmlInternationalRegionMap] TO [MssExec]
GO
Uses