I’d like to call a MySQL Function within the select statement of a Query Tag. The function returns a single value.
The syntax below doesn’t work:
select f2HrAvg({[.]PrevPrd/DayYear},‘10’);
The value in the brackets is a ind. auto tag.
It does work if I hard code the values as shown below:
select f2HrAvg(‘2012005’,‘10’);
Any help would be appreciated.