Reading Excel sheet using ACE.OLEDB.12.0 with IMEX=1 not working

后端 未结 2 938
深忆病人
深忆病人 2021-01-03 07:03

I\'m using the below Connection String with ACE.OLEDB.12.0 to read data from an XLSX Spreadsheet, but the I set IMEX=1, it does not work while when I remove IMEX=1 completel

2条回答
  •  生来不讨喜
    2021-01-03 07:47

    What worked for me, was to set IMEX=0 in the connection string. I have a SELECT and an UPDATE statement and just the SELECT statement was working when IMEX=1. Now both are working when IMEX=0

    
    

提交回复
热议问题