Tag: SQL Server

SQL Snippets

Reusable SQL patterns for paging, duplicates, pivots, and date ranges across SQL Server and MySQL.

Continue Reading

Clone SQL Server database

Duplicate a SQL Server database with BACKUP/RESTORE, DBCC CLONEDATABASE, or scripting for dev/test copies.

Continue Reading

SQL Server format date

Format dates in SQL Server with CONVERT, FORMAT, and style codes for locale-safe display and reporting.

Continue Reading