Tables [dbo].[XmlInternationalValueTypeMap]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)2
Created9:02:42 AM Friday, December 7, 2018
Last Modified9:02:42 AM Friday, December 7, 2018
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_XmlInternationalValueTypeMap: XmlInternationalValueTypeMapIDXmlInternationalValueTypeMapIDint4
No
1 - 1
Cluster Key IX_XmlInternationalValueTypeMap_InternationalValueTypeFID_XMLInterface_ExternalCode: InternationalValueTypeFID\XmlInterfaceFID\ExternalCodeForeign Keys FK_XmlInternationalValueTypeMap_XmlInterface: [dbo].[XmlInterface].XmlInterfaceFIDIndexes IX_XmlInternationalValueTypeMap_XMLInterface_ExternalCode: XmlInterfaceFID\ExternalCodeXmlInterfaceFIDint4
No
Cluster Key IX_XmlInternationalValueTypeMap_InternationalValueTypeFID_XMLInterface_ExternalCode: InternationalValueTypeFID\XmlInterfaceFID\ExternalCodeForeign Keys FK_XmlInternationalValueTypeMap_InternationalConsolidator: [dbo].[InternationalValueType].InternationalValueTypeFIDInternationalValueTypeFIDint4
No
Cluster Key IX_XmlInternationalValueTypeMap_InternationalValueTypeFID_XMLInterface_ExternalCode: InternationalValueTypeFID\XmlInterfaceFID\ExternalCodeIndexes IX_XmlInternationalValueTypeMap_XMLInterface_ExternalCode: XmlInterfaceFID\ExternalCodeExternalCodevarchar(32)32
No
Indexes Indexes
NameColumnsUnique
Primary Key PK_XmlInternationalValueTypeMap: XmlInternationalValueTypeMapIDPK_XmlInternationalValueTypeMapXmlInternationalValueTypeMapID
Yes
Cluster Key IX_XmlInternationalValueTypeMap_InternationalValueTypeFID_XMLInterface_ExternalCode: InternationalValueTypeFID\XmlInterfaceFID\ExternalCodeIX_XmlInternationalValueTypeMap_InternationalValueTypeFID_XMLInterface_ExternalCodeInternationalValueTypeFID, XmlInterfaceFID, ExternalCode
Yes
IX_XmlInternationalValueTypeMap_XMLInterface_ExternalCodeXmlInterfaceFID, ExternalCode
Yes
Foreign Keys Foreign Keys
NameColumns
FK_XmlInternationalValueTypeMap_InternationalConsolidatorInternationalValueTypeFID->[dbo].[InternationalValueType].[InternationalValueTypeID]
FK_XmlInternationalValueTypeMap_XmlInterfaceXmlInterfaceFID->[dbo].[XmlInterface].[XmlInterfaceID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[XmlInternationalValueTypeMap]
(
[XmlInternationalValueTypeMapID] [int] NOT NULL IDENTITY(1, 1),
[XmlInterfaceFID] [int] NOT NULL,
[InternationalValueTypeFID] [int] NOT NULL,
[ExternalCode] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalValueTypeMap] ADD CONSTRAINT [PK_XmlInternationalValueTypeMap] PRIMARY KEY NONCLUSTERED  ([XmlInternationalValueTypeMapID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalValueTypeMap] ADD CONSTRAINT [IX_XmlInternationalValueTypeMap_InternationalValueTypeFID_XMLInterface_ExternalCode] UNIQUE CLUSTERED  ([InternationalValueTypeFID], [XmlInterfaceFID], [ExternalCode]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalValueTypeMap] ADD CONSTRAINT [IX_XmlInternationalValueTypeMap_XMLInterface_ExternalCode] UNIQUE NONCLUSTERED  ([XmlInterfaceFID], [ExternalCode]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalValueTypeMap] ADD CONSTRAINT [FK_XmlInternationalValueTypeMap_InternationalConsolidator] FOREIGN KEY ([InternationalValueTypeFID]) REFERENCES [dbo].[InternationalValueType] ([InternationalValueTypeID])
GO
ALTER TABLE [dbo].[XmlInternationalValueTypeMap] ADD CONSTRAINT [FK_XmlInternationalValueTypeMap_XmlInterface] FOREIGN KEY ([XmlInterfaceFID]) REFERENCES [dbo].[XmlInterface] ([XmlInterfaceID])
GO
GRANT SELECT ON  [dbo].[XmlInternationalValueTypeMap] TO [MssExec]
GRANT INSERT ON  [dbo].[XmlInternationalValueTypeMap] TO [MssExec]
GRANT DELETE ON  [dbo].[XmlInternationalValueTypeMap] TO [MssExec]
GRANT UPDATE ON  [dbo].[XmlInternationalValueTypeMap] TO [MssExec]
GO
Uses