jinyuttt

导航

2011年8月3日

dbf导入sqlserver

摘要: --如果接受导入数据的SQL表已经存在 Insert Into 已经存在的SQL表名 Select * From openrowset('MSDASQL','Driver=Microsoft Visual FoxPro Driver;SourceType=DBF;SourceDB=c:','select * from aa.DBF') --也可以对应列名进行导入,如: Insert Into 已经存在的SQL表名 (列名1,列名2...) Select (对应列名1,对应列名2...) From openrowset('MSDASQL&# 阅读全文

posted @ 2011-08-03 10:11 代码苦行僧 阅读(4810) 评论(0) 推荐(0) 编辑

Ad Hoc Distributed Queries组件

摘要: 启用Ad Hoc Distributed Queries:exec sp_configure 'show advanced options',1reconfigureexec sp_configure 'Ad Hoc Distributed Queries',1reconfigure 使用完成后,关闭Ad Hoc Distributed Queries:exec sp_configure 'Ad Hoc Distributed Queries',0reconfigureexec sp_configure 'show advanced op 阅读全文

posted @ 2011-08-03 10:06 代码苦行僧 阅读(223) 评论(0) 推荐(0) 编辑