DataItem Data Type (ASSL)
Defines a primitive data type that represents the data-related characteristics of a data item, such as a column or attribute.
Syntax
<DataItem>
<DataType>...</DataType>
<DataSize>...</DataSize>
<MimeType>...</MimeType>
<NullProcessing>...</NullProcessing>
<Trimming>...</Trimming>
<InvalidXmlCharacters>...</InvalidXmlCharacters>
<Collation>...</Collation>
<Format>...</Format>
<Source>...</Source>
<Annotations>...</Annotations>
</DataItem>
Data Type Characteristics
Characteristic |
Description |
---|---|
Base data types |
None |
Derived data types |
None |
Data Type Relationships
Relationship |
Element |
---|---|
Parent elements |
None |
Child elements |
Annotations, Collation, DataSize, DataType, Format, InvalidXmlCharacters, MimeType, NullProcessing, Source, Trimming |
Derived elements |
See the table in Remarks. |
Remarks
The DataItem data type is used for any data item that can be bound; for example, a measure, attribute key, and attribute name. The details that are relevant, and the defaults that apply, depend on the usage; for example, attribute names must be strings.
An instance of Microsoft SQL Server Analysis Services accepts only a certain set of data types. Use of other data types results in an error, rather than an implicit conversion to one of the valid types.
The following table lists elements of type DataItem.
Parent Element |
Element of type DataItem |
Comments |
---|---|---|
Source element of the DataItem must be of type ColumnBinding or AttributeBinding |
||
Source element of the DataItem must be of type ColumnBinding or AttributeBinding |
||
Source element of the DataItem must be of type ColumnBinding or AttributeBinding |
||
Source element of the DataItem must be of type ColumnBinding, AttributeBinding or TimeBinding |
||
Source element of the DataItem must be of type ColumnBinding or AttributeBinding |
||
Source element of the DataItem must be of type ColumnBinding or AttributeBinding |
||
Source element of the DataItem must be of type ColumnBinding or AttributeBinding |
||
Source element of the DataItem must be of type RowBinding, ColumnBinding, MeasureBinding, or CubeDimensionBinding |
||
Source element of the DataItem must be of type ColumnBinding, AttributeBinding or InheritedBinding |
||
Source element of the DataItem must be of type ColumnBinding |
||
Source element of the DataItem must be of type ColumnBinding |
||
Source element of the DataItem must be of type ColumnBinding |
The corresponding element in the Analysis Management Objects (AMO) object model is DataItem.