MySQL? Postgres? Oracle?
Is the Server on Linux?
Thank you kindly for the code example.
Funny you should ask, I have been asked that kind of stuff before and finally added everything in my Signature, but omitted the Database Server (SQLite3) so will rectify that right after posting this.
I had not thought of the method you provided, but will endeavor to use that approach in the future. Thanks very much.
After posting I went back to hammering around and found this to solve the problem. But as mentioned, your code is a much better approach.
SET zSent = '+#39+'0'+#39+' WHERE
and
SET zSent = '+#39+'1'+#39+' WHERE