Tables [dbo].[XmlMoveTypeMap]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)0
Created5:00:24 PM Monday, April 21, 2008
Last Modified7:29:28 PM Thursday, August 29, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_XmlMoveTypeMap: XmlMoveTypeMapIDXmlMoveTypeMapIDint4
No
1 - 1
Foreign Keys FK_XmlMoveTypeMap_XmlInterface: [dbo].[XmlInterface].XmlInterfaceFIDIndexes IX_XmlMoveTypeMap_XmlInterface_ExternalCode_MoveType: XmlInterfaceFID\ExternalCode\MoveTypeFIDIndexes IX_XmlMoveTypeMap_ImlInterfaceFID_MoveTypeFID: XmlInterfaceFID\MoveTypeFIDXmlInterfaceFIDint4
No
Foreign Keys FK_XmlMoveTypeMap_MoveType: [dbo].[MoveType].MoveTypeFIDIndexes IX_XmlMoveTypeMap_XmlInterface_ExternalCode_MoveType: XmlInterfaceFID\ExternalCode\MoveTypeFIDIndexes IX_XmlMoveTypeMap_ImlInterfaceFID_MoveTypeFID: XmlInterfaceFID\MoveTypeFIDMoveTypeFIDint4
No
Indexes IX_XmlMoveTypeMap_XmlInterface_ExternalCode_MoveType: XmlInterfaceFID\ExternalCode\MoveTypeFIDExternalCodevarchar(32)32
No
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_XmlMoveTypeMap: XmlMoveTypeMapIDPK_XmlMoveTypeMapXmlMoveTypeMapID
Yes
80
IX_XmlMoveTypeMap_ImlInterfaceFID_MoveTypeFIDXmlInterfaceFID, MoveTypeFID
Yes
80
IX_XmlMoveTypeMap_XmlInterface_ExternalCode_MoveTypeXmlInterfaceFID, ExternalCode, MoveTypeFID
Foreign Keys Foreign Keys
NameColumns
FK_XmlMoveTypeMap_MoveTypeMoveTypeFID->[dbo].[MoveType].[PriKey]
FK_XmlMoveTypeMap_XmlInterfaceXmlInterfaceFID->[dbo].[XmlInterface].[XmlInterfaceID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[XmlMoveTypeMap]
(
[XmlMoveTypeMapID] [int] NOT NULL IDENTITY(1, 1),
[XmlInterfaceFID] [int] NOT NULL,
[MoveTypeFID] [int] NOT NULL,
[ExternalCode] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlMoveTypeMap] ADD CONSTRAINT [PK_XmlMoveTypeMap] PRIMARY KEY NONCLUSTERED  ([XmlMoveTypeMapID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlMoveTypeMap] ADD CONSTRAINT [IX_XmlMoveTypeMap_ImlInterfaceFID_MoveTypeFID] UNIQUE NONCLUSTERED  ([XmlInterfaceFID], [MoveTypeFID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_XmlMoveTypeMap_XmlInterface_ExternalCode_MoveType] ON [dbo].[XmlMoveTypeMap] ([XmlInterfaceFID], [ExternalCode], [MoveTypeFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlMoveTypeMap] ADD CONSTRAINT [FK_XmlMoveTypeMap_MoveType] FOREIGN KEY ([MoveTypeFID]) REFERENCES [dbo].[MoveType] ([PriKey])
GO
ALTER TABLE [dbo].[XmlMoveTypeMap] ADD CONSTRAINT [FK_XmlMoveTypeMap_XmlInterface] FOREIGN KEY ([XmlInterfaceFID]) REFERENCES [dbo].[XmlInterface] ([XmlInterfaceID])
GO
GRANT SELECT ON  [dbo].[XmlMoveTypeMap] TO [MssExec]
GRANT INSERT ON  [dbo].[XmlMoveTypeMap] TO [MssExec]
GRANT DELETE ON  [dbo].[XmlMoveTypeMap] TO [MssExec]
GRANT UPDATE ON  [dbo].[XmlMoveTypeMap] TO [MssExec]
GO
Uses