Tags / t-sql
Splitting Comma Separated Values into Rows in SQL Server
Understanding the Pseudo Code: A Generic SQL Server 2008 Query to Copy Rows Based on a Condition
Converting Vertical Tables to Horizontal Tables in SQL Using XML PATH
Understanding the T-SQL MERGE Statement with Condition: What is Not Matched?
Selecting Distinct Code Clients with Minimized Duplicate Names: A Comprehensive Guide to Managing Complex Datasets
Converting and Calculating Lost Time in SQL: Best Practices and Alternative Solutions.
How to Use UNION ALL with Implicit Data Type Conversions in SQL Server
Understanding String Trimming in SQL Server
Understanding SQL Server 2014 Index Usage Without VIEW SERVER STATE Permission: A Comparative Approach Using sys.dm_db_index_usage_stats and sys.dm_db_index_operational_stats DMVs.
SQL Server Date Range Analysis: Querying Records 60 Days Prior to Today