raresql.com
SQL SERVER 2012 – Simple way to add variables in the dynamic SQL
Sometimes, you need to construct (n) number of result set from (n) number of inputs using single query and here the dynamic SQL concept comes handy. In some solutions, I really feel that it is very…