Hi,
This issue is due to syntax error in query. The issue was found in sqltemplate files for"post8_4", "post9_0" and "post9_1" servers.
Please find attached patch and review.
Thanks,Surinder Kumar