# datatype element

Specifies information about the data type of a column. Set to one of the types defined in dt.xsd.

## Usage

    <datatype
    	dt:type="[external type]"
    	dt:maxLength="[external type]"
    />

## Element Information

Element type | Anonymous
Namespace | uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882
Schema name | Rowset Definition

## Elements and Attributes

### Child Elements

None.

### Attributes

Attribute | Type | Required | Description | Possible Values
--- | --- | --- | --- | ---
dt:type | external ref | optional | See external namespace. | See external namespace.
dt:maxLength | external ref | optional | See external namespace. | See external namespace.

## Definition

    <xsd:element name="datatype" >
      <xsd:complexType>
        <xsd:attribute ref="dt:type" use="optional" />
        <xsd:attribute ref="dt:maxLength" use="optional" />
      </xsd:complexType>
    </xsd:element>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp