There was no question in your message so what did you expect from me?
It is your code and the issue is not related to my components, you have probably wrong sql statement (char : should not be here).
If you want me to check and fix your code next time we can make a deal, no problem. Just explain what is expected and I will provide the solution for free as many time before or send you the expected price for my time. ok?
Thanks for understanding.
Tomas