Tables [dbo].[XmlAddressLocationTypeMap]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)0
Created5:00:24 PM Monday, April 21, 2008
Last Modified9:10:38 AM Thursday, May 23, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_XmlAddressLocationTypeMap: XmlAddressLocationTypeMapIDXmlAddressLocationTypeMapIDint4
No
1 - 1
Foreign Keys FK_XmlAddressLocationTypeMap_XmlInterface: [dbo].[XmlInterface].XmlInterfaceFIDIndexes IX_XmlAddressLocationTypeMap_XmlInterface_AddressLocationType: XmlInterfaceFID\AddressLocationTypeFIDIndexes IX_XmlAddressLocationTypeMap_XmlInterface_ExternalCode: XmlInterfaceFID\ExternalCodeXmlInterfaceFIDint4
No
Foreign Keys FK_XmlAddressLocationTypeMap_AddressLocationType: [dbo].[AddressLocationType].AddressLocationTypeFIDIndexes IX_XmlAddressLocationTypeMap_XmlInterface_AddressLocationType: XmlInterfaceFID\AddressLocationTypeFIDAddressLocationTypeFIDint4
No
Indexes IX_XmlAddressLocationTypeMap_XmlInterface_ExternalCode: XmlInterfaceFID\ExternalCodeExternalCodevarchar(32)32
No
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_XmlAddressLocationTypeMap: XmlAddressLocationTypeMapIDPK_XmlAddressLocationTypeMapXmlAddressLocationTypeMapID
Yes
80
IX_XmlAddressLocationTypeMap_XmlInterface_AddressLocationTypeXmlInterfaceFID, AddressLocationTypeFID
Yes
IX_XmlAddressLocationTypeMap_XmlInterface_ExternalCodeXmlInterfaceFID, ExternalCode
Yes
Foreign Keys Foreign Keys
NameColumns
FK_XmlAddressLocationTypeMap_AddressLocationTypeAddressLocationTypeFID->[dbo].[AddressLocationType].[AddressLocationTypeID]
FK_XmlAddressLocationTypeMap_XmlInterfaceXmlInterfaceFID->[dbo].[XmlInterface].[XmlInterfaceID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[XmlAddressLocationTypeMap]
(
[XmlAddressLocationTypeMapID] [int] NOT NULL IDENTITY(1, 1),
[XmlInterfaceFID] [int] NOT NULL,
[AddressLocationTypeFID] [int] NOT NULL,
[ExternalCode] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlAddressLocationTypeMap] ADD CONSTRAINT [PK_XmlAddressLocationTypeMap] PRIMARY KEY NONCLUSTERED  ([XmlAddressLocationTypeMapID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlAddressLocationTypeMap] ADD CONSTRAINT [IX_XmlAddressLocationTypeMap_XmlInterface_AddressLocationType] UNIQUE NONCLUSTERED  ([XmlInterfaceFID], [AddressLocationTypeFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlAddressLocationTypeMap] ADD CONSTRAINT [IX_XmlAddressLocationTypeMap_XmlInterface_ExternalCode] UNIQUE NONCLUSTERED  ([XmlInterfaceFID], [ExternalCode]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlAddressLocationTypeMap] ADD CONSTRAINT [FK_XmlAddressLocationTypeMap_AddressLocationType] FOREIGN KEY ([AddressLocationTypeFID]) REFERENCES [dbo].[AddressLocationType] ([AddressLocationTypeID])
GO
ALTER TABLE [dbo].[XmlAddressLocationTypeMap] ADD CONSTRAINT [FK_XmlAddressLocationTypeMap_XmlInterface] FOREIGN KEY ([XmlInterfaceFID]) REFERENCES [dbo].[XmlInterface] ([XmlInterfaceID])
GO
GRANT SELECT ON  [dbo].[XmlAddressLocationTypeMap] TO [MssExec]
GRANT INSERT ON  [dbo].[XmlAddressLocationTypeMap] TO [MssExec]
GRANT DELETE ON  [dbo].[XmlAddressLocationTypeMap] TO [MssExec]
GRANT UPDATE ON  [dbo].[XmlAddressLocationTypeMap] TO [MssExec]
GO
Uses
Used By