Nested Looping SQL Querys
Steve Holden
steve at holdenweb.com
Wed Sep 20 13:21:54 EDT 2006
Dennis Lee Bieber wrote:
[...]
> # not conn.execute() ? That's what all the DB-API compliant adapters
> use
>
> result = conn.execute(sql, params)
>
.execute() is a cursor method, not a connection method. Some DB API
modules do implement it as a connection method, but that makes it
impossible for several cursors to share the same connection (which is
allowed by some modules).
regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://holdenweb.blogspot.com
Recent Ramblings http://del.icio.us/steve.holden
More information about the Python-list
mailing list