tommyh (8/6/2012)
So here i was thinking this was a rewrite of the question we had 2 questions ago, since this question had the varchar(50) on str4 which would have fixed a lot of the issues with the that question. But unfortunatly it wasnt. Instead # had been changed for @.Besides what does this actually have to do with "Commenting in Dynamic query"?... nothing i tell you. The comments dont matter. This has more to do with "Scope".
First question was "interesting" if nothing else. This just bores me. Ah well... keep trying.
/T
+1
--Vadim R.