Tables [dbo].[XmlInternationalBookingNumberLocationTypeMap]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)11
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_XmlInternationalBookingNumberLocationTypeMap: XmlInternationalBookingNumberLocationTypeMapIDXmlInternationalBookingNumberLocationTypeMapIDint4
No
1 - 1
Cluster Key IX_XmlInternationalBookingNumberLocationTypeMap_InternationalBookingNumberLocationTypeFID_XMLInterface_ExternalCode: InternationalBookingNumberLocationTypeFID\XmlInterfaceFID\ExternalCodeForeign Keys FK_XmlInternationalBookingNumberLocationTypeMap_XmlInterface: [dbo].[XmlInterface].XmlInterfaceFIDIndexes IX_XmlInternationalBookingNumberLocationTypeMap_XMLInterface_ExternalCode: XmlInterfaceFID\ExternalCodeXmlInterfaceFIDint4
No
Cluster Key IX_XmlInternationalBookingNumberLocationTypeMap_InternationalBookingNumberLocationTypeFID_XMLInterface_ExternalCode: InternationalBookingNumberLocationTypeFID\XmlInterfaceFID\ExternalCodeForeign Keys FK_XmlInternationalBookingNumberLocationTypeMap_InternationalBookingNumberLocationType: [dbo].[InternationalBookingNumberLocationType].InternationalBookingNumberLocationTypeFIDInternationalBookingNumberLocationTypeFIDint4
No
Cluster Key IX_XmlInternationalBookingNumberLocationTypeMap_InternationalBookingNumberLocationTypeFID_XMLInterface_ExternalCode: InternationalBookingNumberLocationTypeFID\XmlInterfaceFID\ExternalCodeIndexes IX_XmlInternationalBookingNumberLocationTypeMap_XMLInterface_ExternalCode: XmlInterfaceFID\ExternalCodeExternalCodevarchar(32)32
No
Indexes Indexes
NameColumnsUnique
Primary Key PK_XmlInternationalBookingNumberLocationTypeMap: XmlInternationalBookingNumberLocationTypeMapIDPK_XmlInternationalBookingNumberLocationTypeMapXmlInternationalBookingNumberLocationTypeMapID
Yes
Cluster Key IX_XmlInternationalBookingNumberLocationTypeMap_InternationalBookingNumberLocationTypeFID_XMLInterface_ExternalCode: InternationalBookingNumberLocationTypeFID\XmlInterfaceFID\ExternalCodeIX_XmlInternationalBookingNumberLocationTypeMap_InternationalBookingNumberLocationTypeFID_XMLInterface_ExternalCodeInternationalBookingNumberLocationTypeFID, XmlInterfaceFID, ExternalCode
Yes
IX_XmlInternationalBookingNumberLocationTypeMap_XMLInterface_ExternalCodeXmlInterfaceFID, ExternalCode
Yes
Foreign Keys Foreign Keys
NameColumns
FK_XmlInternationalBookingNumberLocationTypeMap_InternationalBookingNumberLocationTypeInternationalBookingNumberLocationTypeFID->[dbo].[InternationalBookingNumberLocationType].[InternationalBookingNumberLocationTypeID]
FK_XmlInternationalBookingNumberLocationTypeMap_XmlInterfaceXmlInterfaceFID->[dbo].[XmlInterface].[XmlInterfaceID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[XmlInternationalBookingNumberLocationTypeMap]
(
[XmlInternationalBookingNumberLocationTypeMapID] [int] NOT NULL IDENTITY(1, 1),
[XmlInterfaceFID] [int] NOT NULL,
[InternationalBookingNumberLocationTypeFID] [int] NOT NULL,
[ExternalCode] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalBookingNumberLocationTypeMap] ADD CONSTRAINT [PK_XmlInternationalBookingNumberLocationTypeMap] PRIMARY KEY NONCLUSTERED  ([XmlInternationalBookingNumberLocationTypeMapID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalBookingNumberLocationTypeMap] ADD CONSTRAINT [IX_XmlInternationalBookingNumberLocationTypeMap_InternationalBookingNumberLocationTypeFID_XMLInterface_ExternalCode] UNIQUE CLUSTERED  ([InternationalBookingNumberLocationTypeFID], [XmlInterfaceFID], [ExternalCode]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalBookingNumberLocationTypeMap] ADD CONSTRAINT [IX_XmlInternationalBookingNumberLocationTypeMap_XMLInterface_ExternalCode] UNIQUE NONCLUSTERED  ([XmlInterfaceFID], [ExternalCode]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalBookingNumberLocationTypeMap] ADD CONSTRAINT [FK_XmlInternationalBookingNumberLocationTypeMap_InternationalBookingNumberLocationType] FOREIGN KEY ([InternationalBookingNumberLocationTypeFID]) REFERENCES [dbo].[InternationalBookingNumberLocationType] ([InternationalBookingNumberLocationTypeID])
GO
ALTER TABLE [dbo].[XmlInternationalBookingNumberLocationTypeMap] ADD CONSTRAINT [FK_XmlInternationalBookingNumberLocationTypeMap_XmlInterface] FOREIGN KEY ([XmlInterfaceFID]) REFERENCES [dbo].[XmlInterface] ([XmlInterfaceID])
GO
GRANT SELECT ON  [dbo].[XmlInternationalBookingNumberLocationTypeMap] TO [MssExec]
GRANT INSERT ON  [dbo].[XmlInternationalBookingNumberLocationTypeMap] TO [MssExec]
GRANT DELETE ON  [dbo].[XmlInternationalBookingNumberLocationTypeMap] TO [MssExec]
GRANT UPDATE ON  [dbo].[XmlInternationalBookingNumberLocationTypeMap] TO [MssExec]
GO
Uses