Tables [dbo].[XmlInternationalValuationDeclinedReasonMap]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)3
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_XmlInternationalValuationDeclinedReasonMap: XmlInternationalValuationDeclinedReasonMapIDXmlInternationalValuationDeclinedReasonMapIDint4
No
1 - 1
Cluster Key IX_XmlInternationalValuationDeclinedReasonMap_InternationalValuationDeclinedReasonFID_XMLInterface_ExternalCode: InternationalValuationDeclinedReasonFID\XmlInterfaceFID\ExternalCodeForeign Keys FK_XmlInternationalValuationDeclinedReasonMap_XmlInterface: [dbo].[XmlInterface].XmlInterfaceFIDIndexes IX_XmlInternationalValuationDeclinedReasonMap_XMLInterface_ExternalCode: XmlInterfaceFID\ExternalCodeXmlInterfaceFIDint4
No
Cluster Key IX_XmlInternationalValuationDeclinedReasonMap_InternationalValuationDeclinedReasonFID_XMLInterface_ExternalCode: InternationalValuationDeclinedReasonFID\XmlInterfaceFID\ExternalCodeForeign Keys FK_XmlInternationalValuationDeclinedReasonMap_InternationalConsolidator: [dbo].[InternationalValuationDeclinedReason].InternationalValuationDeclinedReasonFIDInternationalValuationDeclinedReasonFIDint4
No
Cluster Key IX_XmlInternationalValuationDeclinedReasonMap_InternationalValuationDeclinedReasonFID_XMLInterface_ExternalCode: InternationalValuationDeclinedReasonFID\XmlInterfaceFID\ExternalCodeIndexes IX_XmlInternationalValuationDeclinedReasonMap_XMLInterface_ExternalCode: XmlInterfaceFID\ExternalCodeExternalCodevarchar(32)32
No
Indexes Indexes
NameColumnsUnique
Primary Key PK_XmlInternationalValuationDeclinedReasonMap: XmlInternationalValuationDeclinedReasonMapIDPK_XmlInternationalValuationDeclinedReasonMapXmlInternationalValuationDeclinedReasonMapID
Yes
Cluster Key IX_XmlInternationalValuationDeclinedReasonMap_InternationalValuationDeclinedReasonFID_XMLInterface_ExternalCode: InternationalValuationDeclinedReasonFID\XmlInterfaceFID\ExternalCodeIX_XmlInternationalValuationDeclinedReasonMap_InternationalValuationDeclinedReasonFID_XMLInterface_ExternalCodeInternationalValuationDeclinedReasonFID, XmlInterfaceFID, ExternalCode
Yes
IX_XmlInternationalValuationDeclinedReasonMap_XMLInterface_ExternalCodeXmlInterfaceFID, ExternalCode
Yes
Foreign Keys Foreign Keys
NameColumns
FK_XmlInternationalValuationDeclinedReasonMap_InternationalConsolidatorInternationalValuationDeclinedReasonFID->[dbo].[InternationalValuationDeclinedReason].[InternationalValuationDeclinedReasonID]
FK_XmlInternationalValuationDeclinedReasonMap_XmlInterfaceXmlInterfaceFID->[dbo].[XmlInterface].[XmlInterfaceID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[XmlInternationalValuationDeclinedReasonMap]
(
[XmlInternationalValuationDeclinedReasonMapID] [int] NOT NULL IDENTITY(1, 1),
[XmlInterfaceFID] [int] NOT NULL,
[InternationalValuationDeclinedReasonFID] [int] NOT NULL,
[ExternalCode] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalValuationDeclinedReasonMap] ADD CONSTRAINT [PK_XmlInternationalValuationDeclinedReasonMap] PRIMARY KEY NONCLUSTERED  ([XmlInternationalValuationDeclinedReasonMapID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalValuationDeclinedReasonMap] ADD CONSTRAINT [IX_XmlInternationalValuationDeclinedReasonMap_InternationalValuationDeclinedReasonFID_XMLInterface_ExternalCode] UNIQUE CLUSTERED  ([InternationalValuationDeclinedReasonFID], [XmlInterfaceFID], [ExternalCode]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalValuationDeclinedReasonMap] ADD CONSTRAINT [IX_XmlInternationalValuationDeclinedReasonMap_XMLInterface_ExternalCode] UNIQUE NONCLUSTERED  ([XmlInterfaceFID], [ExternalCode]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalValuationDeclinedReasonMap] ADD CONSTRAINT [FK_XmlInternationalValuationDeclinedReasonMap_InternationalConsolidator] FOREIGN KEY ([InternationalValuationDeclinedReasonFID]) REFERENCES [dbo].[InternationalValuationDeclinedReason] ([InternationalValuationDeclinedReasonID])
GO
ALTER TABLE [dbo].[XmlInternationalValuationDeclinedReasonMap] ADD CONSTRAINT [FK_XmlInternationalValuationDeclinedReasonMap_XmlInterface] FOREIGN KEY ([XmlInterfaceFID]) REFERENCES [dbo].[XmlInterface] ([XmlInterfaceID])
GO
GRANT SELECT ON  [dbo].[XmlInternationalValuationDeclinedReasonMap] TO [MssExec]
GRANT INSERT ON  [dbo].[XmlInternationalValuationDeclinedReasonMap] TO [MssExec]
GRANT DELETE ON  [dbo].[XmlInternationalValuationDeclinedReasonMap] TO [MssExec]
GRANT UPDATE ON  [dbo].[XmlInternationalValuationDeclinedReasonMap] TO [MssExec]
GO
Uses