Thanks, Marc-Andre. That sounds interesting; unfortunately, I don't
have any money to spend. :-(
DG
-Original Message-
From: M.-A. Lemburg [mailto:m...@egenix.com]
Sent: Thursday, October 07, 2010 2:13 AM
To: Goldsmith, David
Cc: db-sig@python.org
Subject: Re: [DB-SIG] pyodbc:
Goldsmith, David wrote:
> Hi! Probably 'cause I'm new to DBs, I'm having trouble understanding
> pyodbc's help. For example, what kind of Python object is a "results
> set"? In particular, the syntax portion of the docstring for the tables
> method of a cursor object states that it returns self,
Maybe a quick example would help.
# connection strings vary, see www.connectionstrings.com for an example for
your database
connection = pyodbc.connect("your-connection-string-here")
# grab a cursor from the connection (you can have multiple cursors from a
connection)
cursor = connection.cursor()
On Wed, Oct 6, 2010 at 1:40 PM, Goldsmith, David wrote:
> Hi! Probably ‘cause I’m new to DBs, I’m having trouble understanding
> pyodbc’s help. For example, what kind of Python object is a “results set”?
> In particular, the syntax portion of the docstring for the tables method of
> a cursor obj
Hi! Probably 'cause I'm new to DBs, I'm having trouble understanding
pyodbc's help. For example, what kind of Python object is a "results
set"? In particular, the syntax portion of the docstring for the tables
method of a cursor object states that it returns self, but the text
portion of the doc