[Zope-DB] SQL Variables

Smith, Neil Neil.Smith@npower.com
Fri, 28 Jun 2002 16:23:22 +0100

Unfortunately (for the caching of the SQL at the database), it's a).


-----Original Message-----
From: Antonio Orlando [mailto:aorlando2002@yahoo.com.br]
Sent: 28 June 2002 16:20
To: zope-db@zope.org
Subject: [Zope-DB] SQL Variables

I would like to know how is sent this sql to the database server.

paramColumnA = 10

select * from tableA where columnA = <dtml-sqlvar paramColumA type="string">


a) select * from tableA where columnA = 10


b) select * from tableA where columnA = :param1
and then send the parameters.


c) I dunno

I ask that, because of the SQL caching at the DB server...


Antonio Orlando

The information contained in this e-mail is confidential and intended only for the use of the addressee. If the reader of this message is not the addressee, you are hereby notified that you have received this e-mail in error and you must not copy, disseminate, distribute, use or take any action as a result of the information contained in it.
If you have received this e-mail in error, please notify postmaster@npower.com (UK 01384 275454) and delete it immediately from your system.
Neither Npower nor any of the other companies in the Innogy group from whom this e-mail originates accept any responsibility for losses or damage as a result of any viruses and it is your responsibility to check attachments (if any) for viruses.

Npower Limited
Registered office: Windmill Hill Business Park, Whitehill Way, Swindon SN5 6PB. Registered in England and Wales: number 3653277

This e-mail may be sent on behalf of a member of the Innogy plc group of companies.