我在建立了一個連結服務器後,在存貯過程中調用連結服務器的數據時發生錯誤,
在查詢分析器中運行正常,錯誤信息如下:
Heterogeneous queries require the ANSI_NULLS and ANSI_WARNINGS options to be set for the connection. This ensures consistent query semantics. Enable these options and then reissue your query.
請各位大哥救救小弟的命
存儲過和中的代碼如下:select  d_no, d_date,isnull(sum(dl_wt),0) as d_wt, isnull(sum(dl_amt),0) as d_amt from SERVER.boa_lglxf.dbo.d_goods a inner join SERVER.boa_lglxf.dbo.d_goods_item b on a.d_no=b.dl_no where a.d_date between N'2003/08/01' and N'2003/09/04' and a.d_custno=N'L001'group by a.d_no,a.d_date order by a.d_no