--各位大神 請賜教,謝謝:
--各位大神 請賜教,謝謝:
--各位大神 請賜教,謝謝:
--===== sql里面呼叫dbf,呼叫本地dbf沒問題,呼叫局域網 服務器上的dbf就不行!!! 懇請大神指教,謝謝。。懇請大神指教,謝謝。。
select * from openrowset('MSDASQL','Driver=Microsoft Visual FoxPro Driver;SourceDB=F:\temp\03\okk ;SourceType=DBF','select * from ob_lsk1.dbf')
--正常
select * from openrowset('MSDASQL','Driver=Microsoft Visual FoxPro Driver;SourceDB=\\192.168.18.168\ylidate$\YLJ\Data;SourceType=DBF','select * from ob_lsk1.dbf') as bb
-- 回傳了訊息 "[Microsoft][ODBC Visual FoxPro Driver]File 'ob_lsk1.dbf' does not exist."。
--------------------
select * from openrowset ('VFPOLEDB.1','F:\temp\03\okk';'admin';'gm123123+','select * from ob_lsk1.dbf')
--正常
select * from openrowset ('VFPOLEDB.1','\\192.168.18.169\temdata\20200810\Data\';'admin';'gm123123+','select * from ob_lsk1.dbf')
-- OLE DB 訪問介面 "VFPOLEDB.1" 回傳了訊息 "Invalid path or file name."。
--無法初始化鏈接服務器“(null)”的 OLE DB 訪問介面“VFPOLEDB.1”的資料源物件。
uj5u.com熱心網友回復:
把網路地址,映射到本地盤看看。轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/141624.html
標籤:VFP
上一篇:如何在監控修改、洗掉的數量
下一篇:那個空怎么錯了
