Seems that when using the XML type, SQLDescribeCol() returns SQL_CHAR, and precision=2147483647 ... expected? BTW what are [N]VARCHAR(MAX) types supposed to return in SQLDescribeCol()? Seb