Recently we have been facing couple of issues with regard to the way the jobs have been scheduled. To investigate this, we needed a query that can identify the execution […]
A simple script to decapitalize Column names
The above script can take column names for all tables in the database and provide the rename script to only capitalize the first letter.
Simple Function to capitalize a string
Recently I was required to write a function that would capitalize the 1st letter in every word. This is a fairly common requirement and I felt that there […]
Boolean Hell – Missed rows when grouping in SQL
I was recently asked about the concept of Boolean hell and thought it would be a good post to discuss. Most database professionals should be familiar with the […]
What is the role of the DBA in a Cloudy world?
What is the role of the DBA in a world where Cloud is being adopted more and more each day? This is a question I’ve had to answer multiple times in various sessions […]
Memory Configuration in MS SQL Server
Understanding Memory Usage Lock Pages in Memory Min and Max Memory Setting
No process is on the other end of the pipe
Recently I got the below error when trying to connect to SQL Server. There error was caused in this case because the max memory setting was set to […]
Database in Suspect: – DBCC CHECKDB – It has been marked suspect by recovery
A database on the server was recently in suspect mode and the error message below was provided on running DBCC CHECKDB. This is a classic case of why […]
Memory for Servers – Hardware
Most database administrators are at least to some extent familiar with what memory does for SQL server. This is especially true for scenarios such as configuring minimum memory in maximum memory, checkpoint, lazy […]
Installing GitHub on VS Code
When using VS Code you will find a need for a Source Control or Version Management Software. Git is by far the most popular and free software used […]