Our Blog

Here are some tips and tricks to make SQL Server run faster 

 

How to change the data type of a column in a table

How to change the data type of a column in a table

To modify the data type of a column: Please note: Whenever making a change to a table structure there is a chance that change may result in data corruption if not done correctly, which is why it is would advisable to take a backup/copy of the table on which you intend...

Find missing indexes and improve query performance

Find missing indexes and improve query performance

Find Missing Indexes before going into production Find missing indexes the right way! First of all, finding a missing index is not a rocket science. Always find and create missing indexes before you deploy the code to the production environment. DBA's and...

What are users executing from SSMS

What are users executing from SSMS

What are users executing using SSMS? During a customer review meeting, one of the DBA asked if there’s a quick way to find out What are users executing using SSMS. Though this information can easily be obtained from SP_Who2 system stored procedure, the DBA wanted to...

Cannot generate SSPI Context in SQL Server

Cannot generate SSPI Context in SQL Server

Cannot Generate SSPI Context is a generic connectivity error you may encounter while working with SQL Server. One of our customer had a new installation of SQL Server and ran in to this error. After hours of head scratching, customer emailed us with the error message...

SQL Server Developer Edition Free Download

SQL Server Developer Edition Free Download

Get a copy of SQL Server 2017 Developer Edition SQL Server developer edition is now free! Finally, Microsoft has made it easy for companies to develop and test SQL Server 2017 by making the developer edition of SQL Server completely free. This is certainly helpful for...

SP_What is smarter than SP_Who2

SP_What is smarter than SP_Who2

SP_What is smarter than SP_Who2! We’ve seen many DBAs scratch their head to find out who is running what in SQL Server. When a user complains about the database performance issue, the first thing DBAs do is run SP_Who or SP_Who2 to see what may be happening in SQL...

SQL Agent Job Failure Permanent Fix

SQL Agent Job Failure Permanent Fix

Many production DBA’s have asked if there’s a way to find out how many times a job has failed in the last few months. This information can easily be obtained and can be extremely helpful to identify and permanently fix SQL Agent job failures.

Optimize for Ad Hoc Workload in SQL Server

Optimize for Ad Hoc Workload in SQL Server

By default, when a query is executed in SQL Server, it compiles and generates an execution plan and stores it in the plan cache. If this is a one-off or ad-hoc query that will never be run again, then the newly generated plan is wasted and its space that is being used in the plan cache is also wasted. This means the buffer pool now contains compiled plan of queries that will never be executed.