Viewing post 1 (of 1 total)
ColdCoffee (8/18/2010)Try dynamic SQL.. build your final query using @Flag...
ColdCoffee (8/18/2010)
You are right. I did it by using sp_executesql. But I want it runs really fast. The performance penalty may make...
August 18, 2010 at 1:48 am
#1208337