Your comments

I had the same issue, I opened my SQL code generated by SQL wizard and had to change the format to ANSI to make it work.