--On 21. Juli 2005 10:14:32 -0600 [EMAIL PROTECTED] wrote:

In a Python script, how can I break up a SQL statement over more than
one line?  For example, to transform

# generate the sql statement
sql="DELETE FROM tblUsers WHERE user_name LIKE '%'"

to:

# generate the sql statement
sql="DELETE FROM tblUsers
       WHERE user_name LIKE '%'"

...does not work. Is there a way to break lines?


Why don't you use ZSQL methods?

-aj

Attachment: pgpxOlZurYg9l.pgp
Description: PGP signature

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to