In SQL Assistant simply use a parameter, i.e. "?Date_tm" instead of "Date_tm":
SELECT ?CAST((Date_Tm (FORMAT 'YYYY-MM-DD')) AS VARCHAR(10)) AS Yr_Mon_Dy
,?CAST((Date_Tm (FORMAT 'YYYYMM')) AS CHAR(6)) AS Yr_Mo
SQLA will prompt for the value, simply enter it including DATE and single quotes: DATE '2013-06-02'
Dieter
In SQL Assistant simply use a parameter, i.e. "?Date_tm" instead of "Date_tm":
SQLA will prompt for the value, simply enter it including DATE and single quotes: DATE '2013-06-02'
Dieter