Categories / sql-server
Converting NULL to Datetime in SQL Server: Understanding the Difference Between Char(0) and NULL
Retrieving Second-Last Record in Date Column Using Row Numbers
Understanding the Best Practices for Concatenating Strings in SQL
Finding Databases Without Recent Backups in Microsoft SQL Server
How to Use SQL LEAD and LAG Window Functions to Solve Gaps-and-Islands Problems
Understanding Permissions and Ownership Chaining in Stored Procedures: Why Explicit Permissions Are Necessary for Secure Access to External Database Objects
Creating Permutations of a Column Based on the Same Value in SQL Using Derived Tables and Recursive CTEs
Safely Injecting Parameters in SQL Server Stored Procedures
Dividing a Column into Multiple Ranges Using Conditional Aggregation in SQL
Handling Date and Time Conversion Errors in SQL Server