Edward Pollack in T-SQL Programming XML Performance Tuning and Added Options SQL Server provides a variety of ways to tune XML so that it provides consistent performance, consumes less space, all... 21 June 2024 12 min read
Ben Johnston in Blogs Auditing SQL Server – Part 1 – Discovery and Documentation Inheriting a server, whether as an inexperienced user or an experienced DBA, has many challenges. It’s very helpful to evaluate... 06 June 2024 29 min read
T-SQL Programming Edward Pollack in T-SQL Programming Effective Strategies for Storing and Parsing XML in SQL Server XML is a common storage format for data, metadata, parameters, or other semi-structured data. Because of this, it often finds... 03 June 2024 21 min read
T-SQL Programming Aaron Bertrand in T-SQL Programming Snake draft sorting in SQL Server, part 4 Part of a series: [ Part 1 | Part 2 | Part 3 | Part 4 ] In the previous... 27 May 2024 9 min read
T-SQL Programming Aaron Bertrand in T-SQL Programming Snake draft sorting in SQL Server, part 3 Part of a series: [ Part 1 | Part 2 | Part 3 | Part 4 ] In part 2... 15 May 2024 5 min read
T-SQL Programming Aaron Bertrand in T-SQL Programming Snake draft sorting in SQL Server, part 2 Part of a series: [ Part 1 | Part 2 | Part 3 | Part 4 ] In my previous... 15 April 2024 7 min read
T-SQL Programming Aaron Bertrand in T-SQL Programming Snake draft sorting in SQL Server, part 1 Part of a series: [ Part 1 | Part 2 | Part 3 | Part 4 ] I recently had... 12 April 2024 8 min read
T-SQL Programming Aaron Bertrand in T-SQL Programming Pagination and ordering by large values Pagination is a technique for limiting output. Think of Google search results, shopping the electronics category on Amazon, or browsing... 25 March 2024 9 min read
Database Administration Aaron Bertrand in Database Administration Get the most out of SQL Server Agent logs If you haven’t migrated your workloads to a managed database platform yet, you’re probably still relying on SQL Server Agent... 11 March 2024 6 min read
Ben Johnston in Blogs Friendly Deletes in SQL Server One of the first things you learn when working with SQL Server, and other transactional based SQL systems, is that... 01 March 2024 24 min read
T-SQL Programming Edward Pollack in T-SQL Programming Find and Replace Text in Strings in T-SQL String manipulation is an inevitable task for developers and data professionals alike. Despite all the best efforts to normalize databases,... 29 February 2024 17 min read
Database Administration Aaron Bertrand in Database Administration Upgrade SQL Server on your workstation Lately, I’ve seen many people struggling to upgrade their workstation to the latest version of SQL Server. The main source... 26 February 2024 6 min read
PowerShell Laerte Junior in PowerShell Automating BCP with PowerShell I was talking with a good friend that has an environment with terabytes of information and to create a homolog... 09 February 2024 8 min read
Database Administration Edward Pollack in Database Administration The Importance of Retention It is always an afterthought. New objects are created that start off small and current. New feature development takes over... 19 January 2024 24 min read
Blogs Dennes Torres in Blogs SQL Server: Optimize for Ad Hoc Workloads – use or not use I used to believe this option was something almost absolute: it should be enabled as best practice. I was in... 06 December 2023 5 min read
Blogs Ben Johnston in Blogs SQL Server Row Level Security Deep Dive. Part 1 – Introduction and Use Cases My initial goal of documenting and exploring SQL Server Row Level Security (RLS) was to show the basic functionality and... 01 August 2023 17 min read
Blogs Louis Davidson in Blogs Generating Repeatable Sets Of Test Rows In order to test graph structures, I needed a large set of random data. In some ways, this data will... 30 September 2022 11 min read
Blogs Louis Davidson in Blogs SQL Server Graph Tables – Cross Database Surprises Louis Davidson explains how to get around an interesting issue when doing cross-database queries involving graph database tables.… 21 March 2022 3 min read
Blogs Dennes Torres in Blogs Query Store and hints: More Powerful than ever Dennes Torres explains how Query Store hints work in Azure SQL Database and Managed Instance.… 29 November 2021 6 min read
Blogs Dennes Torres in Blogs SQL Elevated Configuration: The fail-safe for maintenance Many years ago, in the company I was working for, one junior DBA started a reindex operation in a SQL... 08 November 2021 3 min read