in reply to Re^4: Bind param error
in thread Bind param error

See Re: Bind param error.

Alternatively, assign your SQL statement to a string, and print out that string. Then manually replace the placeholders with dummy values and run it in your SQL command line client.