博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2010年7月5日

摘要: 在执行跨服务器查询之前,运行exec sp_configure 'show advanced options',1 reconfigure exec sp_configure 'Ad Hoc Distributed Queries',1 reconfigure 查询结束后,运行exec sp_configure 'Ad Hoc Distributed Queries',0 reconfigure ... 阅读全文

posted @ 2010-07-05 17:30 大椰网吧 阅读(4821) 评论(0) 推荐(0) 编辑

摘要: --开始跨库exec sp_configure 'show advanced options',1reconfigureexec sp_configure 'Ad Hoc Distributed Queries',1reconfigure --跨库语句select * from PJTMA WHERE MA001 not in (select pjtma006 from OPENROWSET('S... 阅读全文

posted @ 2010-07-05 17:20 大椰网吧 阅读(338) 评论(0) 推荐(0) 编辑