3
select (case when t.freeplayabandoned != f.freeplayabandoned then 'freeplayabandoned'
when t.freeplaydownloaded != f.freeplaydownloaded then 'freeplaydownloaded'
end)
from testtable t where not exists (select * from freeplay.egmfreeplay f where f.freeplaydownloaded = t.freeplaydownloaded)
我試圖讓TestTable的的記錄的列名其中不匹配的是freeplay.egmfreeplay多部分標識符無法綁定
,並即時得到錯誤以下錯誤的
Msg 4104,Level 16,State 1,Line 1 無法綁定多部分標識符「f.freeplayandandoned」。 Msg 4104,Level 16,State 1,Line 1 無法綁定多部分標識符「f.freeplaydownloaded」。
有人可以幫忙嗎?
你的查詢全部搞砸了。問一個新的問題,你在哪裏發佈表格定義以及你正在嘗試做什麼,這樣你可以讓你查詢一個工作... – 2009-06-11 18:05:31