Hi,

>>>meta.Session.execute(meta.metadata.tables.get(table).select()).rowcount
> -1
>
> Can anybody explain what I have to do (if possible at all) to get the
> correct number of rows in my cursor?
>

I don't think you can, short of reading all the results. The reason being
that pyodbc streams them from the server, so when your query first returns,
even the server may not know how many rows match.

Paul

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to