[DB-SIG] Positioned Update/Delete

Dr. Dieter Maurer dieter@sz-sb.de
Thu, 23 Apr 1998 09:39:09 +0200


How should positioned update/delete be best used with the DB-API:

 1. cursor.execute("update set ... where CURRENT")
 2. cursor.execute("update set ... where CURRENT of SELF")
 3. cursor.execute("update set ... where CURRENT of %s" % str(cursor))
 4. cursor.execute("update set ... where CURRENT of ?",(cursor,))
or
 5. cursor.update("set ...")
   i.e. with a new method.


Best regards
Dieter