Temporary tables, constraints and SQL Server Agent each solve a different problem. Choose an appropriate temporary-table scope, use declarative rules for data integrity and give scheduled jobs clear ownership and failure handling.
sp_refreshsqlmodule: Refreshing Views and Procedures After a Table Change
Use sp_refreshsqlmodule to refresh changed table dependencies, inspect stale view columns, and protect stable contracts with schema binding.
SQL SERVER – 2008 – Introduction to Online Indexing Operation
An introduction to online indexing in SQL Server, which lets you create or rebuild an index while the table stays available to your app.
Year-to-Date Totals Next to the Same Period Last Year
A fair year-to-date comparison needs the same dates from last year. Here is a short query, plus the leap day trap.
Splitting a URL Into Host, Path and Query String in T-SQL
Practice splitting a URL into host, path, and query values with T-SQL string functions, SQL Server 2025 regex, and ordered parameter rows.
Named Instances and Default Instances
Named instances and default instances differ in connection strings, ports, SQL Browser discovery, and the operations each one needs.
Finding Column Definitions Without the Documentation
Find column definitions in SQL Server with sys.columns, sys.types, and sys.all_columns, including length, nullability, and system objects.







