Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

OPENROWSET

$
0
0

I have daily schedule sql job which insert data into excel through OPENROWSET.

but from last two days its not working.

if I run query in query window it works but its not running under agent service.

Insert Into  OPENROWSET ('Microsoft.ACE.OLEDB.12.0','Excel 8.0;Database='+ @FileName +';',
'Select 
   *  from [sheet1$]')

Viewing all articles
Browse latest Browse all 23857

Trending Articles



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