HI Experts ,
I am getting very much confused with 64 bit ,31 bit environment in SQL server, SSIS and MS office , Accessdatabase engine
which I want to use for ETL as what should be the combination
My scenario - I have written an SP with OPENrowset to be used in EXECUTE SQL TASK and load data into SQL Table
example
SELECT * into myTable
FROM OPENROWSET (
'Microsoft.ACE.OLEDB.12.0',
'Excel 12.0;Database=E:\SourceFolder\Department.xlsx;HDR=YES;IMEX=1',
'SELECT * FROM [Sheet1$]');
My SQL SERVER version is ::
Microsoft SQL Server 2012 - 11.0.2316.0 (X64)
Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor)
MS OFFICE 2010, 64 Bit
After executing
sp_configure 'show advanced options', 1;
RECONFIGURE;
sp_configure 'Ad Hoc Distributed Queries', 1;
RECONFIGURE;
My OPENROWset query Store Procedure is working fine in SSMS but when I executed Same SP in EXECUTE SQL TASK ,it failed .
Also I was not able to used Excel as a Source , I forgot the error but it did not even allowed me to select a sheet Name in Excel Source..
After doing bit of google I found that we need to have MS office 2010 in 32 bit because our BIDS is 32 Bit .
I asked my admin team to uninstall MS office 2010 64 bit and Install 32 bit version.
Now my versions are
SQL server 2012 , 64 bit
MS office 32 bit
Now
1) I am able to Take excel sheets as Source in SSIS Excel Source transformation but package fail
2) SP with OPENROWSET Query in which was running fine earlier in SSMS is also throwing error
3) and Execute SQL TASK with same SP in SSIS are throwing error ..
NOW I Installed AccessDatabaseEngine i.e. 32-bit but same issue
"The 32-bit OLE DB provider "Microsoft.ACE.OLEDB.12.0" cannot be loaded in-process on a 64-bit SQL Server"
PLEASE TELL ME THE COMBINATION .. I cannot reinstall SQL SERVER but definately MS OFFICE VERSION AND ACCESSdatabase engine version
I WANT
1) MY OPENROW SET QUERY CAN RUN BOTH IN SSMS and Execute SQL Task (SSIS).
2) I can use Excel as a Source in SSIS Package (with out making RUN64bitRUNTIME to FALSE )
PLEASE ASSIST