Using SYBASE ASE 15.5 developer edition, with Sybase ODBC driver
(libsybdrvodb.so) on Linux 32b:
Normally when you execute a SELECT SUM(col) FROM table where col
contains NULLs, you should get a warning:
01003: Warning – null value eliminated in set function.
SQLExecute() returns SQL_SUCCESS_WITH_INFO as expected, but when I try
to get the warning details with SQLGetDiagRec(), that function returns
100 (SQL_NO_DATA) ...
With all other ODBC drivers I have used for now, I get a diagnostic
record...
Seb