Groups
Groups
Sign in
Groups
Groups
pyodbc
Conversations
About
Send feedback
Help
Print Cursor Output question
12 views
Skip to first unread message
james simpson
unread,
Sep 10, 2012, 9:54:26 AM
9/10/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyodbc
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>
>>>
Reply all
Reply to author
Forward
0 new messages