Closed obeleh closed 6 years ago
@obeleh you are not getting results because you have a query that contains multiple statements, and the first statement apparently does not return any rows. Call cur.nextset()
until you arrive at the result set you are looking for. This is normal behavior.
See also: https://github.com/denisenkom/pytds/blob/master/pytds/__init__.py#L701
query:
Results in
Previous statement didn't produce any results
However in SSMS (values are different because it's a different server) I get a result:
And with the following hack I can get the results I'm looking for:
[u'system', 4987691008, 2605195264, 0.5223249114312416]