Excel file fields:
Station column - Text
StationList column - Text
ItemCode column - Text
ItemName column - Text
Price column - Number
PriceNumber column - Text
WaitForEOD column - Text
ActivateTime column - Custom: d/m/yyyy hh:mm
VatablePrice column - Number
1. Install AccessDatabaseEngine_x64
2. The import works ONLY from the computer running SQL server (RHO), not from clients, unless the import file is placed in a shared folder accessible both to SQL server (RHO) and client and import path is referred as \\share\folder\file and not as local path (if you indicate D:\folder\file will not work).
3. The sheet name from Excel file must be Prices
sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
sp_configure 'Ad Hoc Distributed Queries', 1;
GO
RECONFIGURE;
GO
EXEC master.dbo.sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.12.0', N'AllowInProcess', 1
GO
EXEC master.dbo.sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.12.0', N'DynamicParameters', 1
GO