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
SQL SERVER - Outer Join in Indexed View - Question to Readers

SQL SERVER – Outer Join in Indexed View – Question to Readers

September 25, 2009
Pinal Dave
SQL Performance
SQL Index, SQL Joins, SQL View, SQL White Papers

Why can’t you use an outer join in indexed view definitions? The SQL Server 2008 white paper answer, plus my question to you: can you show an example?

Read More
Two long layered ice cores side by side, a gloved hand stretching a red thread across both at the same band.

Joining Two History Tables at a Point in Time With FOR SYSTEM_TIME AS OF

August 19, 2009
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Joins, SQL Server, Temporal Table

Use FOR SYSTEM_TIME AS OF to join temporal tables at one UTC instant, compare range forms, and index the history lookup correctly.

Read More
SQL Server - Multiple CTE in One SELECT Statement Query

SQL Server – Multiple CTE in One SELECT Statement Query

August 8, 2009
Pinal Dave
SQL Tips and Tricks
CTE, SQL Joins, SQL Scripts

How do you use multiple CTE in one SELECT statement? Two simple examples: independent CTEs joined together, and a second CTE built on the first.

Read More
Six empty ceramic cups in two rows, with terracotta, blue and pale glazes.

CROSS APPLY VALUES: Unpivot Fixed Columns and Preserve NULLs

July 3, 2009
Pinal Dave
SQL Tips and Tricks
PIVOT and UNPIVOT, SQL Joins, SQL Scripts, SQL Server

CROSS APPLY VALUES can turn a fixed set of columns into rows without dropping their NULL values. I make any missing-value filter explicit. That keeps the reshaping step separate from the decision to exclude data.

Read More
SQL Server - Understanding Table Hints with Examples

SQL Server – Understanding Table Hints with Examples – 2

June 20, 2009
Pinal Dave
SQL Performance
Query Hint, SQL Joins, SQL Scripts

A plain guide to understanding table hints in SQL Server: the three kinds of hints, what NOLOCK really means, and a checklist before you use one.

Read More
Three bowls and three tall ceramic cups arranged by cream, blue and sage glaze.

No Join Predicate: Verify the Relationship Before Tuning

June 11, 2009
Pinal Dave
SQL Performance
SQL Joins, SQL Performance, SQL Server Management Studio

No join predicate prompts a relationship check. Compare all combinations with exact customer-order pairs before changing indexes or hiding duplicates.

Read More
A small rowing skiff and a wide log raft moored side by side at a river jetty, a ferryman watching the bend.

Adaptive Joins: When the Plan Picks Its Join at Run Time

May 5, 2009
Pinal Dave
SQL Performance
Execution Plan, Query Hint, SQL Joins, SQL Performance, SQL Server

Understand adaptive joins in SQL Server, read their runtime threshold, inspect the actual choice, and test a query hint safely.

Read More
Previous 1 … 10 11 12 13 14 15 16 … 22 Next
  • Books
  • Testimonials
  • Privacy Policy

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