How could I do a transaction with ZODBC DA ?? I am accesing to a Jet Database (.mdb file) If I put several sql commands in a same zsql method (separated with ;), the driver complais. Or is it implicit ? (ie I shoud call several Zsql method from a Python script) -- __o _ \<_ (_)/(_) Saludos de Julián EA4ACL -.-
On Tue, 2001-10-30 at 15:00, Julián Muñoz Domínguez wrote:
If I put several sql commands in a same zsql method (separated with ;), the driver complais.
Use <dtml-var sql_delimiter> to separate statements (instead of ;).
Or is it implicit ? (ie I shoud call several Zsql method from a Python script)
It's implicit. -- Andy Dustman PGP: 0x930B8AB6 @ .net http://dustman.net/andy You can have my keys when you pry them from my dead, cold neurons.
Look at: http://www.zope.org/Members/mcdonc/HowTos/transaction
>>>>>>>>>>>> Mensaje original <<<<<<<<<<<<<<<<<<
El 30/10/01, 20:00:51, jmunoz@softhome.net (Julián Muñoz Domínguez) escribió sobre el tema [Zope] sql odbc - How work transactions ??:
How could I do a transaction with ZODBC DA ?? I am accesing to a Jet Database (.mdb file)
If I put several sql commands in a same zsql method (separated with ;), the driver complais.
Or is it implicit ? (ie I shoud call several Zsql method from a Python script)
--
__o _ \<_ (_)/(_)
Saludos de Julián EA4ACL -.-
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Andy Dustman -
Julián Muñoz Domínguez