Unsure how to retrieve results from pyodbc.Cursor.statistics() #1107
-
Environment
IssueThe documentation for pyodbc.Cursor describes the # c is a connected Cursor
# c.tables() works as expected
tables = c.tables()
print(len(tables)) # -> 778
print(type(tables[0])) # As expected: -> pyodbc.Row
table_name = tables[0][2]
print(table_name) # -> real_table_name
c.statistics(table_name) # -> pyodbc.Cursor How do I access the results from |
Beta Was this translation helpful? Give feedback.
Answered by
gordthompson
Oct 21, 2022
Replies: 1 comment
-
Just call
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
gordthompson
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just call
.fetchall()
: