Quantcast
Channel: Oracle, MySQL, Sybase, Informix and other databases
Viewing all articles
Browse latest Browse all 1350

The OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)" could not INSERT INTO table "[Microsoft.ACE.OLEDB.12.0]".

$
0
0

Hi all,

I am using a script to insert into Excel sheet.Below is the code Im using.

INSERT INTO OPENDATASOURCE('Microsoft.ACE.OLEDB.12.0', 'Data Source=D:\frrreports\BIFPostViewReport.xlsx;Extended Properties=Excel 12.0')...[Sheet1$]

There is a select query below the insert statement which inserts more than 30000 rows.This is happening well in Dev Environment and DIT environment. But in SIT Env its inserting only the first record from select query and then the error comes as below.

The OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)" could not INSERT INTO table "[Microsoft.ACE.OLEDB.12.0]".

FYI,In all the 3 environments we have installed AcessDatabase 64 bit version.Can anyone help me resolve this as this issue has been lying around 3 weeks unresolved


Viewing all articles
Browse latest Browse all 1350


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>