tom123
08-15-2006, 11:55 AM
I nedd to check the year part of date in following format:
DD-MMM-YYYY
I have
$year_query = "2006";
qq(SELECT epr_code,
epr_name,
epr_from,
epr_type
FROM t_mou_eco_product
WHERE epr_from LIKE '$year_query\_%' ESCAPE '\'
AND epr_active = 1
ORDER BY epr_code);
This isnt working. Can someone please help?
Thanks in advance
DD-MMM-YYYY
I have
$year_query = "2006";
qq(SELECT epr_code,
epr_name,
epr_from,
epr_type
FROM t_mou_eco_product
WHERE epr_from LIKE '$year_query\_%' ESCAPE '\'
AND epr_active = 1
ORDER BY epr_code);
This isnt working. Can someone please help?
Thanks in advance