PYODBC Print Cursor Output Question
james simpson
desolatechair at gmail.com
Mon Sep 10 10:55:58 EDT 2012
I think there's a simple answer but displaying my ignorance here.
I'm
using Python 2.7.3 IDLW with pydoc 3x
I think I've connected to my SQL Server 2005 and my SQL is good.
How do I display the actual data returned from my fetch? Been
searching for several hours but no joy...
Thanks. Jamie
===============================================
>>> cursor.execute("select * from project")
row = cursor.fetchone()
if row:
print row
<pyodbc.Cursor object at 0x0167D678> I'd like to actually see SQL
output here?)
More information about the Python-list
mailing list