Hello,
I would like to test the new JSON and VECTOR types of SQL Server 2025 with the Microsoft ODBC driver for SQL Server.
I have installed SQL Server 2025 CTP 2.0 on my Windows 11.
For now I have MS ODBC driver 18.5.1.1 for Linux (Debian 12).
Is this ODBC driver version supporting JSON type, or should I wait for a new release of your ODBC driver?
I get the following problem:
I want for fetch rows with a simple SELECT on a table with a JSON column, without any CAST().
SQLDescribeColumn() returns type information for the JSON column, as if it was a VARCHAR(MAX).
My code is just doing the same as if the source column was a VARCHAR(MAX).
However, at SQLFetchScroll() time, I get the following error:
[Microsoft][ODBC Driver 18 for SQL Server]Unknown token received from SQL Server
I suspect that your ODBC driver 18.5.1.1 is not yet ready to fetch JSON columns...
I also plan to test the new VECTOR type.
Thanks!
Seb