Move User Database file to another drive

Have you ever received an email like below and then got a big pain in your stomach?  Disk E: is running out of room and you need to move one of your user database files before you totally fill the disk.  Yes, your VM admin might be able to add disk space but they are out sick or this is a physical machine and you need to order bigger disks and you need to make this change right now.

Continue reading Move User Database file to another drive

Query Timeout Expired

If you ever use linked servers to run queries on a remote database server, you may run into this issue if your queries take longer than 10 minutes:  OLE DB provider “SQLNCLI11” for linked server xxxxx returned message “Query timeout expired” [SQLSTATE 01000] (Message 7412)

Continue reading Query Timeout Expired

SQLSaturday #595 Cleveland 2017

On 2/4/2017 I went to my third SQLSaturday hosted at Hyland Software in Westlake, OH.  What is SQLSaturday? From their site:  “SQLSaturday is a training event for SQL Server professionals and those wanting to learn about SQL Server. Admittance to this event is free, all costs are covered by donations and sponsorships. Please register soon as seating is limited, and let friends and colleagues know about the event.”  http://www.sqlsaturday.com/

Continue reading SQLSaturday #595 Cleveland 2017

Maintenance Cleanup Task

You have been diligently backing up your database and transaction logs, but now you have a directory that is full of files that have been backed up to disk/tape already or are no longer needed since they are old.  Within SSMS, you are able to create a job that can delete out the files that are no longer needed. Continue reading Maintenance Cleanup Task