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
Broken washing machine with overflowing clothes and sullen boy.

SQL SERVER – What the Business Says Is Not What the Business Wants

December 14, 2010
Pinal Dave
SQL Tips and Tricks
Best Practices, Shrinking Database

Let us discuss about What the Business Says Is Not What the Business Wants. Steve raised a very interesting question.

Read More
An analogue instrument panel of round gauges on a machine, one needle sitting in the red band.

SQL SERVER – Activity Monitor and Performance Issue

December 12, 2010
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Server, SQL Utility

A small story with a big moral about Activity Monitor and performance issue: a client left the tool open, and the monitor itself slowed the server down.

Read More
A fingertip touching one strand of a dewy spider web in a garden, drops trembling across the whole web

Finding Every Object That Uses a Column

December 11, 2010
Pinal Dave
SQL Tips and Tricks
SQL Column, SQL Dependency, SQL Server, SQL System Table

Find an object that uses a column with dependency metadata and module text search, then check dynamic SQL and application code.

Read More
A hand moving tiny furniture from an old dollhouse into the matching rooms of a new one

Restoring a Sample Database to New Folders With RESTORE FILELISTONLY

December 8, 2010
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL Sample Database, SQL Scripts

Use RESTORE FILELISTONLY to map backup files to local folders, restore a separate sample copy, and verify its data and log paths.

Read More
Gouache painting: in a garden bed, a strawberry mother plant and its two small runner plants, still joined by their green runners, sit together in a shallow wooden crate resting on the soil

hierarchyid IsDescendantOf: A Node Includes Itself

December 7, 2010
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts, SQL Server

hierarchyid IsDescendantOf tests membership in a subtree, including its root. These literal paths keep both compared nodes visible and distinguish self from a strict descendant.

Read More
Gouache painting: two sandwiches sit on matching plates and look identical from the front

CONCAT: Missing Inputs Produce Present Text

December 3, 2010
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Server

CONCAT builds display text from available inputs. Preserve missing-source flags when output alone cannot prove completeness.

Read More
Folded deckchairs taken from a tall stack and opened one by one in a long row along the beach.

Unpivoting Columns Into Rows With CROSS APPLY and VALUES

December 2, 2010
Pinal Dave
SQL Tips and Tricks
PIVOT and UNPIVOT, SQL NULL, SQL Scripts, SQL Server

Use CROSS APPLY and VALUES for unpivoting columns, retain nulls deliberately, preserve labels, and turn paired fields into aligned rows.

Read More
Previous 1 … 412 413 414 415 416 417 418 … 570 Next
  • Books
  • Testimonials
  • Privacy Policy

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