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- Differences Between Left Join and Left Outer Join

SQL SERVER- Differences Between Left Join and Left Outer Join

January 22, 2011
Pinal Dave
SQL Tips and Tricks
SQL Joins, SQL Scripts

Is there any difference between LEFT JOIN and LEFT OUTER JOIN? A reader asked, and here is the short answer: none at all, they are the same.

Read More
A maypole with five ribbons stretched out to stakes around it like a star

Star Schema Queries and How SQL Server Runs Them

January 16, 2011
Pinal Dave
SQL Performance
ColumnStore Index, Data Warehousing, Execution Plan, SQL Joins, SQL Server

Star schema queries join a large fact table to focused dimensions; learn bitmap filters, columnstore, and indexes that support the real workload.

Read More
SQL SERVER – SELF JOIN Not Allowed in Indexed View – Limitation of the View 9

SQL SERVER – SELF JOIN Not Allowed in Indexed View – Limitation of the View 9

September 26, 2010
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Joins, SQL Scripts, SQL View

Self Join is handy, but it is not allowed in indexed view definitions. Limitation of the view 9 reuses my employee and manager example to show it.

Read More
SQL SERVER - Outer Join Not Allowed in Indexed Views - Limitation of the View 8

SQL SERVER – Outer Join Not Allowed in Indexed Views – Limitation of the View 8

September 24, 2010
Pinal Dave
SQL Tips and Tricks
SQL Joins, SQL Scripts, SQL View

Why is an outer join not allowed in indexed views? Rows can logically disappear when you insert into a base table. Limitation of the view 8 shows an example.

Read More
Three small bouquets sharing the same flowers in different mixes, a red poppy in two of them

Tagging With a Many-to-Many Table: Storing and Querying Hashtags

September 4, 2010
Pinal Dave
SQL Tips and Tricks
Database, Normalization, SQL Constraint and Keys, SQL Joins

Store hashtags in a tag and bridge table, normalize input, query any or all requested tags, and count weekly trends without scans.

Read More
Three terracotta bowls, one empty, beside a blue tray with three circular recesses.

CROSS APPLY Aggregate: An Empty Input Can Still Return a Row

August 18, 2010
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Joins, SQL Scripts, SQL Server

CROSS APPLY aggregate behavior depends on whether the right-side query actually produces a row. I inspect that query before assuming unmatched customers disappear. An aggregate without GROUP BY can return a row even when its input is empty.

Read More
A muffin tin with one empty cup, while two muffins are squeezed together into the cup next to it.

Relational Division in T-SQL: Customers Who Bought Every Product

August 2, 2010
Pinal Dave
SQL Tips and Tricks
SQL Joins, SQL Scripts, SQL Server, SQL Sub Query

Solve relational division with counts and double NOT EXISTS, then handle duplicates, NULL values, empty requirements, and exact matching.

Read More
Previous 1 … 7 8 9 10 11 12 13 … 22 Next
  • Books
  • Testimonials
  • Privacy Policy

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