Hello,
I had this same problem and after pulling out my hair for a few hours I finally narrowed it down to a semicolon at the end of the SQL statement. Seems that putting this
semicolon turns the statement into a batch a statements where parameters are not allowed. I figured I'd post since I came across this page during my search hopefully it will
help someone else.
-jr
that thought I go crazy about that "Host variables"
Add your comments #
A comment body is required. No HTML code allowed. URLs starting with http:// or ftp:// will be automatically converted to hyperlinks.