Re: [DB-SIG] pyodbc: help interpreting help

2010-10-07 Thread Goldsmith, David
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:

Re: [DB-SIG] pyodbc: help interpreting help

2010-10-07 Thread M.-A. Lemburg
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,

Re: [DB-SIG] pyodbc: help interpreting help

2010-10-07 Thread Chris Curvey
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()

Re: [DB-SIG] pyodbc: help interpreting help

2010-10-07 Thread Carl Karsten
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

[DB-SIG] pyodbc: help interpreting help

2010-10-06 Thread Goldsmith, David
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