Now is your chance to ask a question about corruption in SQL Server databases. We will do our best job of answering those questions on our February webcast on database corruption. Do you have a question about the output from DBCC CheckDB? Seeing a strange error in your SQL Server logs? Is your SQL Server sending alerts related to corruption? …

Ask a question about Database Corruption Read more »

After my post yesterday on the performance implications of concatenating long strings with the + operator and the CONCAT function, today I am following up with a way to speed up concatenation if you need to build really long strings. What the previous show as that the longer the string gets the slower the concatenation is. So instead we declare …

Performance: Faster way to concatenate longer string Read more »

String concatenation in SQL Server can be pretty quick but under certain circumstances it can really slow down. Something to be aware of if you are working with larger varchar(max) values that need to be appended to using concatenation in TSQL. The experiment: Using a VARCHAR(MAX) variable, start with it empty, then in a loop concatenate another string to it …

Performance: String Concatenation in SQL Server Read more »

The following has been republished from my Common Table Expressions book. Chapter 1.            Memory Tables There was a 1996 Michael Keaton movie called Multiplicity where he duplicates himself to get more work done. It first started out that he just needed help to finish up his work and be able to attend his child’s ballgame. The theme of the movie …

Common Table Expressions – Chapter 1 Read more »

Microsoft has recently released a security patch for all supported version of Microsoft SQL Server. These updates are fixing where an elevation of Privilege vulnerability that could be exploited when an Extended Event session is running. From the Microsoft security bulletin: Data can be sent over a network to an affected Microsoft SQL Server instance that may cause code to …

January 2021 Security Patch for SQL Server Read more »

With the variety of clients that we work with at Stedman Solutions, one of our service products that has come from listening to our customers is the SQL Server Mentoring package. This is a really good fit for some customers who just need an occasional hand with something on their SQL Server. I was just working with a new client …

SQL Server Mentoring Read more »

On February 17, 2021 at 6:00pm Pacific time Derrick Bovenkamp and I will be presenting a webcast training on SQL Server Database Corruption. After repairing dozens of corrupt databases over the last 6 years we are going to share our experiences. Some of the good, the bad, and the ugly of corrupt databases. What things people did to make it …

Announcing Feb Webcast – Introduction to Database Corruption Read more »

Have you tried out Database Health Monitor and the Quick Scan report? The Quick Scan report does a quick check (sometimes not so quick depending on the system). It checks for server best practice recommendations, and security and performance recommendations as suggested by Database Health Monitor. You can get to the Quick Scan report from the “Instance Reports” section of …

Have you tried the Quick Scan Report? Read more »