Forum Discussion

Santosh20's avatar
Santosh20
Copper Contributor
Nov 05, 2023

How to import data in SQL server from excel

Hello Experts

I am trying to import data from Excel to SQL server table using OPENROWSET and it gives me below error.

Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machineā€

 

I'm using above provider in my code, can someone also correct me if I am using correct provider or I need to use different to read data from Excel?

My Excel file is placed on Azure storage account and I am using UNC path to read data in SQL script

 

Thanks 

Resources