Setting a variable for a Z SQL method

Posted by Nathan Friend on Stack Overflow See other posts from Stack Overflow or by Nathan Friend
Published on 2010-06-03T08:55:55Z Indexed on 2010/06/03 11:54 UTC
Read the original article Hit count: 220

Filed under:
|

In Plone I have a Z SQL methood:

SELECT [aapp_qtitle]
      ,[aapp_mtitle]
      ,[aapp_sdate]
      ,[aapp_duration]
FROM [AAPP].[dbo].[M_PageBodyElement] where [aapp_id]=<dtml-sqlvar aapp_id type=int>

How can I set the value of aapp_id in my Plone page code?

© Stack Overflow or respective owner

Related posts about sql

Related posts about plone