1
如果有人能向我解釋下面三個查詢和爲什麼只有最後一個有效的區別,我將不勝感激。什麼時候使用expand()和/或子選擇
select out() from #1:0 where @class instanceof 'BaseClass'
select expand(out()) from #1:0 where @class instanceof 'BaseClass'
select from (select expand(out()) from #1:0) where @class instanceof 'BaseClass'
非常感謝您的幫助!