阅读背景:

基于参数在另一个表上进行条件左连接

来源:互联网 

I have a long join that uses cross apply and convoluted columns. I have a parameter named @NonCAT. If this parameter is equals to "NonCAT" I want my fourth and fifth left joins to join on a different table. At first, I was thinking maybe there is a way to put an if statement there. Such as:I have a long join that uses cross apply and co




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: