Or if this is not enough then you can concatenate by separating the information into multiple variables. Personally I believe that if your query is this complicated it is better to not build it dynamically if it can be avoided at all. Dynamic SQl is a bad thing for security anyway. And the more complex, the harder to debug as well.
"NOTHING is more important in a database than integrity." ESquared
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.