ubuntu 12.04 python 2.7

Does sqlite3 in this version of python support a delete with a limit?

>>> cur.execute("delete from pwds where Account='xMe' limit 1")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
sqlite3.OperationalError: near "limit": syntax error
>>>
>>> cur.execute("delete from pwds where Account='xMe' limit=1")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
sqlite3.OperationalError: near "limit": syntax error
>>>

It seems not, but it may be me messing up the syntax so I thought I would check.

Thanks,  Jim

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to