Another good read (http://www.sommarskog.se/dynamic_sql.html). The title is: The Curse and Blessings of Dynamic SQL. If you think you need to use dynamic SQL, think really, really hard about why (and 99.99999% of the time you should not). Technically, dynamic SQL should only be used by administrators/for administrators. User's and front end applications should never be exposed to nor be given access to dynamic SQL. Obligatory xkcd link (https://xkcd.com/327/).
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.