[Solved] if between 10 variable [closed]


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

solved if between 10 variable [closed]