Skip to content

sql attr max rows returns 0 value even we set some value #535

Answered by freddy77
kothapraveen asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kothapraveen
Comment options

Answer selected by freddy77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants