Here is an issue you may receive if you try to import data from an Excel spreadsheet into a Sql Server database table:
Here is an issue you may receive if you try to import data from an Excel spreadsheet into a Sql Server database table:
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)
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.
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.
If you have ever tried to run or create a SSIS extract package that exports to Excel, you may run into the error below:
Have you ever deleted a row of data and then needed to put it back due to being told it was the wrong row, but the table had an identity column and will not let you insert the row back? Using the Set Identity_Insert command, you can insert into the table.
Here is an easy way to get (extract) all of the characters before a special character in a string. In our example we have a listing of email addresses and we want to get the name before the @domain.
Here is a useful technique to know. We have a delivery service and we want to know what hour of the day is most popular for completed deliveries. Using the DATEPART function, this can be easily calculated.