Tables [dbo].[XmlInternationalDirectionMap]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)3
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_XmlInternationalDirectionMap: XmlInternationalDirectionMapIDXmlInternationalDirectionMapIDint4
No
1 - 1
Cluster Key IX_XmlInternationalDirectionMap_InternationalDirectionFID_XMLInterface_ExternalCode: InternationalDirectionFID\XmlInterfaceFID\ExternalCodeForeign Keys FK_XmlInternationalDirectionMap_XmlInterface: [dbo].[XmlInterface].XmlInterfaceFIDIndexes IX_XmlInternationalDirectionMap_XMLInterface_ExternalCode: XmlInterfaceFID\ExternalCodeXmlInterfaceFIDint4
No
Cluster Key IX_XmlInternationalDirectionMap_InternationalDirectionFID_XMLInterface_ExternalCode: InternationalDirectionFID\XmlInterfaceFID\ExternalCodeForeign Keys FK_XmlInternationalDirectionMap_InternationalRegion: [dbo].[InternationalDirection].InternationalDirectionFIDInternationalDirectionFIDint4
No
Cluster Key IX_XmlInternationalDirectionMap_InternationalDirectionFID_XMLInterface_ExternalCode: InternationalDirectionFID\XmlInterfaceFID\ExternalCodeIndexes IX_XmlInternationalDirectionMap_XMLInterface_ExternalCode: XmlInterfaceFID\ExternalCodeExternalCodevarchar(32)32
No
Indexes Indexes
NameColumnsUnique
Primary Key PK_XmlInternationalDirectionMap: XmlInternationalDirectionMapIDPK_XmlInternationalDirectionMapXmlInternationalDirectionMapID
Yes
Cluster Key IX_XmlInternationalDirectionMap_InternationalDirectionFID_XMLInterface_ExternalCode: InternationalDirectionFID\XmlInterfaceFID\ExternalCodeIX_XmlInternationalDirectionMap_InternationalDirectionFID_XMLInterface_ExternalCodeInternationalDirectionFID, XmlInterfaceFID, ExternalCode
Yes
IX_XmlInternationalDirectionMap_XMLInterface_ExternalCodeXmlInterfaceFID, ExternalCode
Yes
Foreign Keys Foreign Keys
NameColumns
FK_XmlInternationalDirectionMap_InternationalRegionInternationalDirectionFID->[dbo].[InternationalDirection].[InternationalDirectionID]
FK_XmlInternationalDirectionMap_XmlInterfaceXmlInterfaceFID->[dbo].[XmlInterface].[XmlInterfaceID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[XmlInternationalDirectionMap]
(
[XmlInternationalDirectionMapID] [int] NOT NULL IDENTITY(1, 1),
[XmlInterfaceFID] [int] NOT NULL,
[InternationalDirectionFID] [int] NOT NULL,
[ExternalCode] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalDirectionMap] ADD CONSTRAINT [PK_XmlInternationalDirectionMap] PRIMARY KEY NONCLUSTERED  ([XmlInternationalDirectionMapID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalDirectionMap] ADD CONSTRAINT [IX_XmlInternationalDirectionMap_InternationalDirectionFID_XMLInterface_ExternalCode] UNIQUE CLUSTERED  ([InternationalDirectionFID], [XmlInterfaceFID], [ExternalCode]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalDirectionMap] ADD CONSTRAINT [IX_XmlInternationalDirectionMap_XMLInterface_ExternalCode] UNIQUE NONCLUSTERED  ([XmlInterfaceFID], [ExternalCode]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalDirectionMap] ADD CONSTRAINT [FK_XmlInternationalDirectionMap_InternationalRegion] FOREIGN KEY ([InternationalDirectionFID]) REFERENCES [dbo].[InternationalDirection] ([InternationalDirectionID])
GO
ALTER TABLE [dbo].[XmlInternationalDirectionMap] ADD CONSTRAINT [FK_XmlInternationalDirectionMap_XmlInterface] FOREIGN KEY ([XmlInterfaceFID]) REFERENCES [dbo].[XmlInterface] ([XmlInterfaceID])
GO
GRANT SELECT ON  [dbo].[XmlInternationalDirectionMap] TO [MssExec]
GRANT INSERT ON  [dbo].[XmlInternationalDirectionMap] TO [MssExec]
GRANT DELETE ON  [dbo].[XmlInternationalDirectionMap] TO [MssExec]
GRANT UPDATE ON  [dbo].[XmlInternationalDirectionMap] TO [MssExec]
GO
Uses