KeyDuplicate Element (ASSL)
Determines how Microsoft SQL Server 2005 Analysis Services (SSAS) handles a duplicate key error if it encounters one during processing.
語法
<ErrorConfiguration>
...
<KeyDuplicate>...</KeyDuplicate>
...
</ErrorConfiguration>
Element Characteristics
Characteristic | Description |
---|---|
Data type and length |
String (enumeration) |
Default value |
IgnoreError |
Cardinality |
0-1: Optional element that can occur once and only once. |
Element Relationships
Relationship | Element |
---|---|
Parent element |
|
Child elements |
None |
備註
Duplicate key errors are generated only during dimension processing, when an attribute key is encountered more than once. Because attribute keys must be unique, Analysis Services discards the duplicate records. Duplicate key errors typically indicate a flaw in the design of the dimension, specifically in the relationships between attributes.
The value of this element is limited to one of the strings in the following table.
Value | Description |
---|---|
IgnoreError |
Processing should ignore the error and continue. |
ReportAndContinue |
Processing should report the error and continue. |
ReportAndStop |
Processing should report the error and stop. |
The enumeration that corresponds to the allowed values for KeyDuplicate in the Analysis Management Objects (AMO) object model is ErrorOption.