Call to a stored procedure that returns an empty result set also fails to return OUTPUT parameters and the return value #1187
-
Hello I'm using
This is the
This is the Python that uses
And this is its output:
The Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
Could you post an ODBC trace? |
Beta Was this translation helpful? Give feedback.
-
If the query returns an empty list then
That will cause your |
Beta Was this translation helpful? Give feedback.
-
Thanks @v-chojas This OCBC trace file records one run of the program above. Regards |
Beta Was this translation helpful? Give feedback.
-
I think Gord answered the question about your code; as for odbcinst.ini, i assume you're using Linux so that file is usually in /etc. You can use |
Beta Was this translation helpful? Give feedback.
If the query returns an empty list then
rows
is a "falsy" value:That will cause your
while rows:
loop to exit.