Categories / sql-server
Understanding the Issue with Using a Column Instead of a String Constant in SQL Queries for Date Constants
How to Group Rows in SQL Server Based on Certain Conditions Using Window Functions
Extracting IP Addresses from Strings in SQL Server Using PATINDEX
Calculating Days Between Contracts in SQL Server: A Step-by-Step Guide to Creating a New Table with Historical Data
Transposing Rows to Columns in SQL Server 2008: A Step-by-Step Guide
Recursive CTEs, Row Numbers, and Partitioning: A Powerful Combo for Gaps-and-Islands Problems
Summing Digits in a Column to Get One Number: SQL Server Functions for Efficient Calculation
Creating Labels for Work Shifts When a Shift is Spread Across Midnight: A SQL Server Solution
Optimizing Date Range Merging with Gaps-and-Islands Problem Solution
How to Add a New Column to Two Tables Based on a Condition in MySQL/PostgreSQL