Tables [dbo].[XmlExternalInterfaceVanlineMap]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)11
Created5:00:24 PM Monday, April 21, 2008
Last Modified7:27:33 PM Tuesday, June 11, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Primary Key PK_XmlExternalInterfaceVanlineMap: XmlExternalInterfaceVanlineMapIDXmlExternalInterfaceVanlineMapIDint4
No
1 - 1
Foreign Keys FK_XmlExternalInterfaceVanlineMap_XMLInterface: [dbo].[XmlInterface].XmlInterfaceFIDIndexes IX_XmlExternalInterfaceVanlineMap_XMLInterface_ExternalCode: XmlInterfaceFID\ExternalCodeIndexes IX_XmlExternalInterfaceVanlineMap_XMLInterface_Vanline: XmlInterfaceFID\VanlineFIDXmlInterfaceFIDint4
No
Foreign Keys FK_XmlExternalInterfaceVanlineMap_Vanline: [dbo].[VanLine].VanlineFIDIndexes IX_XmlExternalInterfaceVanlineMap_XMLInterface_Vanline: XmlInterfaceFID\VanlineFIDVanlineFIDint4
No
Indexes IX_XmlExternalInterfaceVanlineMap_XMLInterface_ExternalCode: XmlInterfaceFID\ExternalCodeExternalCodevarchar(32)32
No
IsVanlineBrandbit1
No
((1))
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_XmlExternalInterfaceVanlineMap: XmlExternalInterfaceVanlineMapIDPK_XmlExternalInterfaceVanlineMapXmlExternalInterfaceVanlineMapID
Yes
80
IX_XmlExternalInterfaceVanlineMap_XMLInterface_ExternalCodeXmlInterfaceFID, ExternalCode
Yes
80
IX_XmlExternalInterfaceVanlineMap_XMLInterface_VanlineXmlInterfaceFID, VanlineFID
Yes
80
Foreign Keys Foreign Keys
NameDeleteColumns
FK_XmlExternalInterfaceVanlineMap_VanlineVanlineFID->[dbo].[VanLine].[VLPriKey]
FK_XmlExternalInterfaceVanlineMap_XMLInterfaceCascadeXmlInterfaceFID->[dbo].[XmlInterface].[XmlInterfaceID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
Extended Properties
NameLevel 2 TypeLevel 2 NameValue
DescriptionHolds a code for a particular van line and external interface
DescriptionCOLUMNExternalCodeCode used to map a vanline between an external interface and mover's suite.
DescriptionCOLUMNXmlExternalInterfaceVanlineMapIDPrimary key of the XmlExternalInterfaceVanlineMap table.
DescriptionCOLUMNXmlInterfaceFIDForeign key to an external interface.
SQL Script
CREATE TABLE [dbo].[XmlExternalInterfaceVanlineMap]
(
[XmlExternalInterfaceVanlineMapID] [int] NOT NULL IDENTITY(1, 1),
[XmlInterfaceFID] [int] NOT NULL,
[VanlineFID] [int] NOT NULL,
[ExternalCode] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[IsVanlineBrand] [bit] NOT NULL CONSTRAINT [DF_XmlExternalInterfaceVanlineMap_IsVanlineBrand] DEFAULT ((1))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlExternalInterfaceVanlineMap] ADD CONSTRAINT [PK_XmlExternalInterfaceVanlineMap] PRIMARY KEY NONCLUSTERED  ([XmlExternalInterfaceVanlineMapID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlExternalInterfaceVanlineMap] ADD CONSTRAINT [IX_XmlExternalInterfaceVanlineMap_XMLInterface_ExternalCode] UNIQUE NONCLUSTERED  ([XmlInterfaceFID], [ExternalCode]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlExternalInterfaceVanlineMap] ADD CONSTRAINT [IX_XmlExternalInterfaceVanlineMap_XMLInterface_Vanline] UNIQUE NONCLUSTERED  ([XmlInterfaceFID], [VanlineFID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlExternalInterfaceVanlineMap] ADD CONSTRAINT [FK_XmlExternalInterfaceVanlineMap_Vanline] FOREIGN KEY ([VanlineFID]) REFERENCES [dbo].[VanLine] ([VLPriKey])
GO
ALTER TABLE [dbo].[XmlExternalInterfaceVanlineMap] ADD CONSTRAINT [FK_XmlExternalInterfaceVanlineMap_XMLInterface] FOREIGN KEY ([XmlInterfaceFID]) REFERENCES [dbo].[XmlInterface] ([XmlInterfaceID]) ON DELETE CASCADE
GO
GRANT SELECT ON  [dbo].[XmlExternalInterfaceVanlineMap] TO [MssExec]
GRANT INSERT ON  [dbo].[XmlExternalInterfaceVanlineMap] TO [MssExec]
GRANT DELETE ON  [dbo].[XmlExternalInterfaceVanlineMap] TO [MssExec]
GRANT UPDATE ON  [dbo].[XmlExternalInterfaceVanlineMap] TO [MssExec]
GO
EXEC sp_addextendedproperty N'Description', N'Holds a code for a particular van line and external interface', 'SCHEMA', N'dbo', 'TABLE', N'XmlExternalInterfaceVanlineMap', NULL, NULL
GO
EXEC sp_addextendedproperty N'Description', N'Code used to map a vanline between an external interface and mover''s suite.', 'SCHEMA', N'dbo', 'TABLE', N'XmlExternalInterfaceVanlineMap', 'COLUMN', N'ExternalCode'
GO
EXEC sp_addextendedproperty N'Description', N'Primary key of the XmlExternalInterfaceVanlineMap table.', 'SCHEMA', N'dbo', 'TABLE', N'XmlExternalInterfaceVanlineMap', 'COLUMN', N'XmlExternalInterfaceVanlineMapID'
GO
EXEC sp_addextendedproperty N'Description', N'Foreign key to an external interface.', 'SCHEMA', N'dbo', 'TABLE', N'XmlExternalInterfaceVanlineMap', 'COLUMN', N'XmlInterfaceFID'
GO
Uses
Used By