Msg 3140 – Could Not Adjust the Space Allocation for File

I often need to shrink database files. I know, ‘shrinking is bad’, however there are situations where it is very much needed. In my line of work, I come across databases that have been collecting data for year after year after year. One of the things I check for is the largest tables in databases. […]

Why You Need a SQL DBA or Consultant

Many organizations do not have in-house DBAs. This can be due to a number of reasons. Most commonly it is smaller organizations that cannot justify a full time DBA. Others are larger organizations that do more development work or organizations that run a lot of vendor supported software that don’t understand the value of having […]

Getting Error 64 When Trying To Connect to SQL Server or Azure 

Often times when working with a client, I’ll run into issues or get emails from a client with a message like the following: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 0 – The specified network name is no longer available.) (Microsoft […]