This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
Three potted herbs and a blank notebook sit beside a magnifying glass on a painted garden bench

SQL Server Tips: Temporary Tables, Constraints and Agent

August 16, 2008
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Server Agent, SQL TempDB

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.

Read More
A hand redrawing one of several pinned maps with a red pencil to match a changed road

sp_refreshsqlmodule: Refreshing Views and Procedures After a Table Change

August 15, 2008
Pinal Dave
SQL Tips and Tricks
SQL Dependency, SQL Server, SQL Stored Procedure, SQL View

Use sp_refreshsqlmodule to refresh changed table dependencies, inspect stale view columns, and protect stable contracts with schema binding.

Read More
SQL SERVER - 2008 - Introduction to Online Indexing Operation

SQL SERVER – 2008 – Introduction to Online Indexing Operation

August 15, 2008
Pinal Dave
SQL Performance
SQL Index, SQL Scripts, SQL Server

An introduction to online indexing in SQL Server, which lets you create or rebuild an index while the table stays available to your app.

Read More
Two gooseberry rows and two harvest baskets stand beside a wooden crossbar spanning both rows.

Year-to-Date Totals Next to the Same Period Last Year

August 14, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, Business Intelligence, SQL DateTime

A fair year-to-date comparison needs the same dates from last year. Here is a short query, plus the leap day trap.

Read More
A hand cutting a sugarcane stalk at its natural joints on a chopping block, the cut sections lying in a row beside it.

Splitting a URL Into Host, Path and Query String in T-SQL

August 13, 2008
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server, SQL String

Practice splitting a URL into host, path, and query values with T-SQL string functions, SQL Server 2025 regex, and ordered parameter rows.

Read More
A railway track splits in two at a rural junction, an iron points lever pulled toward the narrower branch.

Named Instances and Default Instances

August 12, 2008
Pinal Dave
SQL Tips and Tricks
SQL Connection, SQL Instance, SQL Server, SQL Server Configuration

Named instances and default instances differ in connection strings, ports, SQL Browser discovery, and the operations each one needs.

Read More
A hand measuring the sleeve of a finished jacket on a dress form with a cloth tape measure

Finding Column Definitions Without the Documentation

August 12, 2008
Pinal Dave
SQL Tips and Tricks
SQL Column, SQL Documentation, SQL Server, SQL System Table

Find column definitions in SQL Server with sys.columns, sys.types, and sys.all_columns, including length, nullability, and system objects.

Read More
Previous 1 … 743 744 745 746 747 748 749 … 841 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com