[Zope] dynamic sql query

Eugen Nedelcu eugen@sifolt.ro
Thu, 30 Jan 2003 13:42:15 +0200


Hi,

I have this query:

"delete from database.table where pri in tuple_pri",

where database,table,pri and tuple_pri are parameters which are passed
from python script to a zsql method.

I've tried to implement zsql method like this:

delete from <dtml-var database>.<dtml-var table> where
<dtml-sqltest <dtml-var pri> op=eq type=nb multiple>,

but it fails...

Could someone help me? TNX.