The StatementInfo parcel returns the parameter and/or query result metadata from the server to the client. The metadata items impacted by the XML data type, along with the values they carry, are listed in the following table. The metadata items follow the rules as defined for the specific item.
Metadata Item Field | Item Field Description |
---|---|
Data type | 2 byte integer |
UDT indicator | 2 byte integer or 3 bytes for internal UDT |
Maximum data length in bytes | 2 GB |
Fully qualified type name length | 0 |
Fully qualified type name | omitted |
isSortable | Always "N" (XML is not comparable) |