標籤

2012年6月12日 星期二

MSDASQL 64位元 32位元 使用

I couldn't get the MSDASQL drivers to work, but got a result with the ACE drivers (NOTE I am on 64-bit so using the ACE drivers). It might be that I need the 64 bit version of MSDASQL..... < http://blogs.msdn.com/b/sqlforum/archive/2010/12/20/faq-why-cannot-64-bit-msdasql-access-a-csv-text-file.aspx

SELECT * 
FROM OPENROWSET (
    'Microsoft.ACE.OLEDB.12.0', 
    'Text;Database=C:\LogReader\AccurateLogReader; ', 
    'SELECT * from Feeders.txt')
If you are on 32-bit, maybe try
SELECT * 
FROM OPENROWSET (
    'Microsoft.Jet.OLEDB.4.0', 
    'Text;Database=C:\LogReader\AccurateLogReader; ', 
    'SELECT * from Feeders.txt')

晶片讀卡機 安裝

 1.插讀卡機入PC,不放IC卡 2.安裝驅動程式(PS:如果再行,就移除其它卡機驅動程式) 3.重開機 事情往往出現在意外 在WIN11會有問題 因為WIN11讓不信任的驅動不能順利安裝 要解決,往下看下去 ▲Win 11需先至設定→ Windows 安全性→"裝置安...