在CTE查詢中 能夠執(zhí)行以下語(yǔ)句with cte1 as( exec('select iConnID ,cDev1Agent,cAni,tBegin,tEnd,iTotal from dbo.tCallLog' + @sqlwhere)),cte2 as( select CallID from dbo.t_bespeak )select * from cte1 c1 , cte2 c2 where cte1.iConnID = cte2.CallID 可否在其中進(jìn)行if 的條件判斷?
- 1 回答
- 0 關(guān)注
- 429 瀏覽
添加回答
舉報(bào)
0/150
提交
取消