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
A gouache joinery bench contrasts incompatible grooved pieces with a smoothly matched pair, beside a red checking peg.

SQL SERVER – Cannot Resolve Collation Conflict For Equal to Operation

June 11, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Collation, SQL Error Messages, SQL Joins, SQL Scripts, SQL Server

A collation conflict means character expressions use incompatible comparison rules. I choose the intended rules before applying COLLATE.

Read More
SQL SERVER - 2005 T-SQL Paging Query Technique Comparison (OVER and ROW_NUMBER()) - CTE vs. Derived Table

SQL SERVER – 2005 T-SQL Paging Query Technique Comparison (OVER and ROW_NUMBER()) – CTE vs. Derived Table

June 11, 2007
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Joins, SQL Paging, SQL Scripts, SQL Server

Paging in SQL Server 2005 with ROW_NUMBER: CTE vs. derived table. I compare both methods and show they give the same performance for common queries.

Read More
SQL SERVER - 2005 Explanation and Example - SELF JOIN

SQL SERVER – 2005 Explanation and Example – SELF JOIN

June 3, 2007
Pinal Dave
SQL Tips and Tricks
SQL Joins, SQL Scripts

A self join joins a table to itself with table aliases. When to use one, why the joined columns must share a data type, and an employee example.

Read More
Gouache painting: on a sunny potting bench a blue glazed flower pot sits in its blue saucer and a sage pot in its sage saucer, both pairs matched and set side by side

Composite Keys: Match Complete Pairs Instead of Separate Lists

May 23, 2007
Pinal Dave
SQL Tips and Tricks
SQL Coding Standards, SQL Joins, SQL Scripts, SQL Server

Composite keys need a complete pair match when the allowed values are defined together. I don’t split the components into independent lists. Doing so can admit combinations that were never allowed.

Read More
SQL SERVER - 2005 Explanation Left Semi Join Showplan Operator and Other Operator

SQL SERVER – 2005 Explanation Left Semi Join Showplan Operator and Other Operator

May 23, 2007
Pinal Dave
SQL Tips and Tricks
SQL Joins

What the Left Semi Join showplan operator means, along with Left Anti Semi Join, Right Anti Semi Join and other joins you see in a text execution plan.

Read More
Close view of a bicycle chain on a rear sprocket, links joined by steel pins, one link painted red

How the Main System Views Connect

May 11, 2007
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Joins, SQL Server, SQL System Table

Learn how the main system views connect through object_id, schema_id, index_id, and column_id so catalog joins stay accurate.

Read More
SQL SERVER - Explanation SQL SERVER Merge Join

SQL SERVER – Explanation SQL SERVER Merge Join

April 28, 2007
Pinal Dave
SQL Performance
SQL Joins, SQL Scripts

What a Merge Join needs and when it is fast: two sorted inputs with matching column types. Presorted B-tree indexes make it quick, extra sorts make it costly.

Read More
Previous 1 … 16 17 18 19 20 21 Next
  • Books
  • Testimonials
  • Privacy Policy

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