sql attr max rows returns 0 value even we set some value #535
-
Currently am working with below environment unixODBC- 2.3.11 we are trying to validate the SQL_ATTR_MAX_ROWS using set & get methods we are getting 0 value even we have set somevalue. [ODBC][116077][1710347356.702105][SQLSetStmtAttrW.c][166] [ODBC][116077][1710347419.689501][SQLGetDiagRecW.c][596] |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The |
Beta Was this translation helpful? Give feedback.
The
Option value changed
message is the way of ODBC to tell you "I understand your request but I cannot use the value you passed so I changed it".Specifically for
SQL_ATTR_MAX_ROWS
the protocol has no way to tell the server the limit (note: the protocol, not the language) so it replaced it with 0.