[ad_1]
You need to use dynamic SQL and generate the sentence. Check out this link. Pay special attention to section Using sp_executesql. Something like that is almost exactly what you need.
2
[ad_2]
solved if between 10 variable [closed]
[ad_1]
You need to use dynamic SQL and generate the sentence. Check out this link. Pay special attention to section Using sp_executesql. Something like that is almost exactly what you need.
2
[ad_2]
solved if between 10 variable [closed]