On Friday 11 January 2008 10:20:13 am Alan Gauld wrote: > "johnf" <[EMAIL PROTECTED]> wrote > > > and should be doing > > tempCursor.execute ( "Select pg_get_serial_sequence ( %s, %s ) as > > seq", ( 'public.arcust', 'pkid' ) ) > > > > which prevented SQL injection. > > The syntax of the execute statement varies by database > Which DB are you using. For example SQLite uses ? > instead of %s indicators. > > Could that be the issue? Have you checked the DB-API > guide for your database? > > HTH,
all's working now - thanks -- John Fabiani _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor