Today we are going to create a very simple SSAS cube to show some of the useful things that you can do with Sql Server Analysis Services. In production or a real world scenario, you would do much more planning and analysis, but this article will show you the steps that you will need to complete. This is really the tip of the iceberg of things that you can accomplish with SSAS, so feel free to explore.
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.
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 ]: Columns “firstname” and “FirstName” cannot convert between unicode and non-unicode string data types.
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.
Do you need to find the last restart time/date of your Sql Server, but only have access through Sql Server Management Studio? Running the query below will tell you the last time the service has been restarted.
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.
Before you update or delete data from a table, it is always a good idea to make a backup just in case. Using the INTO clause in your sql statement, allows you to do this.