SSIS packages with Excel Sources may fail after Windows updates (specifically KB4041681) with the following error:
SSIS Error Code DTS_E_OLEDB_NOPROVIDER_ERROR. The requested OLE DB provider Microsoft.ACE.OLEDB.12.0 is not registered
The resolution is to install the 2007 Office System Driver: Data Connectivity Components from here:
https://www.microsoft.com/en-us/download/details.aspx?id=23734
Note - SSIS packages must have the "Use 32 bit runtime" box checked if being scheduled via a SQL Agent Job
Monday, 30 October 2017
Wednesday, 25 October 2017
Finding out when updates / service packs were applied to SQL Server
It is possible to find out when updates were applied to SQL Server by checking in the following location:
c:\Program Files\Microsoft SQL Server\XXX\Setup Bootstrap\Log
See more here: https://stackoverflow.com/questions/2950911/how-to-determine-date-when-service-pack-was-applied-to-sql-server-instance
c:\Program Files\Microsoft SQL Server\XXX\Setup Bootstrap\Log
See more here: https://stackoverflow.com/questions/2950911/how-to-determine-date-when-service-pack-was-applied-to-sql-server-instance
Friday, 6 October 2017
SSRS Subscriptions - What Goes On Under The Hood
Excellent post detailing what happens "under the hood" of SQL Server Reporting Services
https://blogs.msdn.microsoft.com/sql_pfe_blog/2016/06/20/ssrs-subscriptions-what-goes-on-under-the-hood-3/
https://blogs.msdn.microsoft.com/sql_pfe_blog/2016/06/20/ssrs-subscriptions-what-goes-on-under-the-hood-3/
Subscribe to:
Posts (Atom)
Updating massive amount of rows whilst avoiding blocking
The following SQL is a good means to split an update on a massive table into smaller chunks, whilst reducing blocking. The method is to upda...
-
Microsoft Distributed Transaction Coordinator (abbreviated to MSDTC, or DTC) is usually very quick and simple to set up. However, it isn...
-
Migrations between SQL Servers can be laborious, and doing them manually leaves a lot of room for human error. Scripting a migration using t...
-
Sometimes you will see a large jump of 1000 values in an identity column of a table. This can happen when SQL Server caches 1000 IDs for the...