我在存儲過程中加入下面語句後會出現這樣的錯誤信息
Error information:
"Error 7405:Heterogeneous queries require the ANSI_NULLS and WARNINGS options to be set for the connection.This ensures consistent query semantics.Enable these options and then reissue  your query."語句如下:
exec  sp_addlinkedserver 'mm','','MSDASQL',NULL,NULL,'DRIVER={SQL Server};SERVER=nt03;UID=sa;PWD=topcomputer;'
insert into dd(dd_bh,dd_xt,dd_yscl,dd_chrq,dd_zss,dd_sl)
select  b.ddmx_dh,c.ddxt_gcxt,b.ddmx_yscz,a.dd_wcrq,a.dd_slhj,sum(b.ddmx_sl)
from mm.eting.dbo.dd as a,mm.eting.dbo.ddmx as b,mm.eting.dbo.ddxt as c
where c.ddxt_xt=a.dd_xt
and  a.dd_dh=b.ddmx_dh
and a.dd_dh not in(select dd_bh  from dd)
group by   b.ddmx_dh,c.ddxt_gcxt,b.ddmx_yscz,a.dd_wcrq,a.dd_slhj
order by b.ddmx_dh,c.ddxt_gcxt
end;