On Thu, Feb 21, 2013 at 8:47 PM, Jim Byrnes <[email protected]> wrote:
>
>>>> cur.execute("delete from pwds where Account='xMe' limit 1")
If you need a alternate way to limit the delete, try the following,
for which the limit is on a select query:
cur.execute('''
delete from pwds where rowid in (
select rowid from pwds where Account='xMe' limit 1)
''')
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor