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 gardener walking a row of berry bushes with three small baskets on one strap, sorting berries in a single pass.

Conditional Aggregation: Several Counts in One Pass With CASE

June 24, 2021
Pinal Dave
SQL Tips and Tricks
PIVOT and UNPIVOT, SQL CASE, SQL Group By, SQL Scripts, SQL Server

Use conditional aggregation for several ticket counts, avoid COUNT with ELSE zero, and calculate percentages with an explicit denominator.

Read More
Battle

COUNT(*) and COUNT(1): Performance Battle – SQL in Sixty Seconds #176

June 23, 2021
Pinal Dave
SQL Video
Execution Plan, SQL in Sixty Seconds, SQL Scripts, SQL Server

COUNT(*) and COUNT(1): Performance Battle – which one is better for performance? I got this question after watching my previous video.

Read More
Different inspection guides examine one complete tray beside a populated-value sample dish.

COUNT(*) and Index Frequently Asked Questions

June 22, 2021
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Scripts, SQL Server

My Index Frequently Asked Questions discussion follows the counting video. I distinguish exact results, estimates and the expression being counted.

Read More
StarIndex

COUNT(*) and Index – SQL in Sixty Seconds #175

June 21, 2021
Pinal Dave
SQL Video
Execution Plan, SQL in Sixty Seconds, SQL Index, SQL Scripts, SQL Server

Earlier I wrote two blog post on the topic of COUNT(*) and Index and today I have to build a video on that topic as many of you really wanted.

Read More
Gouache painting of a heap of pebbles with one of each kind lined along driftwood, one pebble vermilion

Count Distinct in Access: Use a Subquery in FROM

June 17, 2021
Pinal Dave
SQL Tips and Tricks
SQL Distinct, SQL Scripts, SQL Server

Count distinct in Access with a subquery in the FROM clause, because Access SQL does not accept COUNT(DISTINCT). Includes NULL and multi-column cases.

Read More
Original vessels and supporting fittings remain preserved beside a replacement drawer.

SQL SERVER – Identity Column is Difficult to Remove

June 16, 2021
Pinal Dave
SQL Tips and Tricks
SQL Identity, SQL Scripts, SQL Server

The IDENTITY property is difficult to remove through a column alteration because SQL Server doesn’t support that operation. Existing values need protection.

Read More
good or bad

Index Scans – Good or Bad? – SQL in Sixty Seconds #174

June 14, 2021
Pinal Dave
SQL Video
Execution Plan, SQL in Sixty Seconds, SQL Index, SQL Scripts, SQL Server

Index Scans – Good or Bad? Lots of people ask about this question and I have built a blog post on the topic – SQL SERVER – Index Scans are Not Always Bad.

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

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