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
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
SQL SERVER - Good, Better and Best Programming Techniques

SQL SERVER – Good, Better and Best Programming Techniques

April 28, 2007
Pinal Dave
SQL Interview Questions and Answers
SQL Backup and Restore, SQL Constraint and Keys, SQL Cursor, SQL Download, SQL Function, SQL Index, SQL Joins, SQL Scripts, SQL Server DBCC, SQL Server Security, SQL Stored Procedure, SQL Trigger

My notes for a programmers meeting on Good, Better and Best Programming Techniques in SQL Server, plus a funny bug ticket about a client who got no email.

Read More
A gouache mason's courtyard groups paired stones on three distinct height levels, with a red wedge at the middle level.

SQL SERVER – Query to Retrieve the Nth Maximum Value

April 27, 2007
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Joins, SQL Scripts, SQL Server

Finding the nth Maximum Value means deciding how ties should count. Here, I rank distinct known salaries.

Read More
Interview

SQL Server Interview Questions and Answers Part 6

April 20, 2007
Pinal Dave
SQL Interview Questions and Answers
Database, SQL Backup and Restore, SQL Constraint and Keys, SQL Cursor, SQL Download, SQL Function, SQL Joins, SQL Scripts, SQL Server, SQL Server Security, SQL Stored Procedure, SQL Trigger

Interview Questions and Answers Part 6 covers the six properties of relational tables and de-normalization, adding redundant data to help performance.

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

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