Load multiple files with SSIS Foreach Loop Container

You just finished your SSIS project where you needed to load a CSV file into a Sql Server database table, but now you just found out that multiple files with the same data will now need to be loaded.  Using the Foreach Loop Container in SSIS makes this relatively easy.

Continue reading Load multiple files with SSIS Foreach Loop Container

SSIS: Cannot convert between unicode and non-unicode string data types during import

Here is an issue you may receive if you try to import data from an Excel spreadsheet into a Sql Server database table:

 

Error at Data Flow Task [OLE DB Destination [23]]: Columns “firstname” and “FirstName” cannot convert between unicode and non-unicode string data types.

Continue reading SSIS: Cannot convert between unicode and non-unicode string data types during import

How to install SSAS (Sql Server Analysis Services)

Many times you do not initially install SSAS when you build your Sql Server instance.  This posting will show you how to install.  There will be future articles concerning Tabular Models and the cool things you can do with them.

Continue reading How to install SSAS (Sql Server Analysis Services)

Task Scheduler failed to start: 2147943785

Have you ever tried to schedule a task with Windows Task Scheduler, but it does not run?  Instead you get this friendly error message:

Task Scheduler failed to start “\Task Name” task for user “Domain\username”. Additional Data: Error Value: 2147943785.

Continue reading Task Scheduler failed to start: 2147943785

Extract code from your databases

Quick, you need to get all of the code for all of your stored procedures in your database!  All you need to do is go to your source control system and get them right?  What do you mean you do not have them, well here is how to extract them from the database so you can create a source control baseline.

Continue reading Extract code from your databases