Tables [dbo].[XmlInterfacePointOfServiceMap]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)3
Created11:16:05 AM Wednesday, January 9, 2013
Last Modified11:13:44 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_XmlInterfacePointOfServiceMap: XmlInterfacePointOfServiceMapIDXmlInterfacePointOfServiceMapIDint4
No
1 - 1
Foreign Keys FK_XmlInterfacePointOfServiceMap_PointOfService: [dbo].[PointOfService].PointOfServiceFIDIndexes IX_XmlInterfacePointOfServiceMap_XMLInterface_PointOfService: XmlInterfaceFID\PointOfServiceFIDPointOfServiceFIDint4
No
Foreign Keys FK_XmlInterfacePointOfServiceMap_XmlInterface: [dbo].[XmlInterface].XmlInterfaceFIDIndexes IX_XmlInterfacePointOfServiceMap_XMLInterface_ExternalPointOfServiceCode: XmlInterfaceFID\ExternalPointOfServiceCodeIndexes IX_XmlInterfacePointOfServiceMap_XMLInterface_PointOfService: XmlInterfaceFID\PointOfServiceFIDXmlInterfaceFIDint4
No
Indexes IX_XmlInterfacePointOfServiceMap_XMLInterface_ExternalPointOfServiceCode: XmlInterfaceFID\ExternalPointOfServiceCodeExternalPointOfServiceCodevarchar(16)16
No
Indexes Indexes
NameColumnsUnique
Primary Key PK_XmlInterfacePointOfServiceMap: XmlInterfacePointOfServiceMapIDPK_XmlInterfacePointOfServiceMapXmlInterfacePointOfServiceMapID
Yes
IX_XmlInterfacePointOfServiceMap_XMLInterface_ExternalPointOfServiceCodeXmlInterfaceFID, ExternalPointOfServiceCode
Yes
IX_XmlInterfacePointOfServiceMap_XMLInterface_PointOfServiceXmlInterfaceFID, PointOfServiceFID
Yes
Foreign Keys Foreign Keys
NameDeleteColumns
FK_XmlInterfacePointOfServiceMap_PointOfServiceCascadePointOfServiceFID->[dbo].[PointOfService].[PointOfServiceID]
FK_XmlInterfacePointOfServiceMap_XmlInterfaceCascadeXmlInterfaceFID->[dbo].[XmlInterface].[XmlInterfaceID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
Extended Properties
NameLevel 2 TypeLevel 2 NameValue
DescriptionHolds mappings an external interface to a point of service.
DescriptionCOLUMNExternalPointOfServiceCodeCode used by an external interface to represent a point of service.
DescriptionCOLUMNXmlInterfaceFIDForeign key to an external interface.
SQL Script
CREATE TABLE [dbo].[XmlInterfacePointOfServiceMap]
(
[XmlInterfacePointOfServiceMapID] [int] NOT NULL IDENTITY(1, 1),
[PointOfServiceFID] [int] NOT NULL,
[XmlInterfaceFID] [int] NOT NULL,
[ExternalPointOfServiceCode] [varchar] (16) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInterfacePointOfServiceMap] ADD CONSTRAINT [PK_XmlInterfacePointOfServiceMap] PRIMARY KEY NONCLUSTERED  ([XmlInterfacePointOfServiceMapID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInterfacePointOfServiceMap] ADD CONSTRAINT [IX_XmlInterfacePointOfServiceMap_XMLInterface_ExternalPointOfServiceCode] UNIQUE NONCLUSTERED  ([XmlInterfaceFID], [ExternalPointOfServiceCode]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInterfacePointOfServiceMap] ADD CONSTRAINT [IX_XmlInterfacePointOfServiceMap_XMLInterface_PointOfService] UNIQUE NONCLUSTERED  ([XmlInterfaceFID], [PointOfServiceFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInterfacePointOfServiceMap] ADD CONSTRAINT [FK_XmlInterfacePointOfServiceMap_PointOfService] FOREIGN KEY ([PointOfServiceFID]) REFERENCES [dbo].[PointOfService] ([PointOfServiceID]) ON DELETE CASCADE
GO
ALTER TABLE [dbo].[XmlInterfacePointOfServiceMap] ADD CONSTRAINT [FK_XmlInterfacePointOfServiceMap_XmlInterface] FOREIGN KEY ([XmlInterfaceFID]) REFERENCES [dbo].[XmlInterface] ([XmlInterfaceID]) ON DELETE CASCADE
GO
GRANT SELECT ON  [dbo].[XmlInterfacePointOfServiceMap] TO [MssExec]
GRANT INSERT ON  [dbo].[XmlInterfacePointOfServiceMap] TO [MssExec]
GRANT DELETE ON  [dbo].[XmlInterfacePointOfServiceMap] TO [MssExec]
GRANT UPDATE ON  [dbo].[XmlInterfacePointOfServiceMap] TO [MssExec]
GO
EXEC sp_addextendedproperty N'Description', N'Holds mappings an external interface to a point of service.', 'SCHEMA', N'dbo', 'TABLE', N'XmlInterfacePointOfServiceMap', NULL, NULL
GO
EXEC sp_addextendedproperty N'Description', N'Code used by an external interface to represent a point of service.', 'SCHEMA', N'dbo', 'TABLE', N'XmlInterfacePointOfServiceMap', 'COLUMN', N'ExternalPointOfServiceCode'
GO
EXEC sp_addextendedproperty N'Description', N'Foreign key to an external interface.', 'SCHEMA', N'dbo', 'TABLE', N'XmlInterfacePointOfServiceMap', 'COLUMN', N'XmlInterfaceFID'
GO
Uses