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
Braided garlic hanging under a shed roof beside garden rows that are still growing

Real-Time Operational Analytics With a Filtered Columnstore Index

November 6, 2013
Pinal Dave
SQL Performance
ColumnStore Index, SQL Index, SQL Performance, SQL Server

Build real-time operational analytics with a filtered columnstore index, inspect batch-mode plans and rowgroups, and measure write costs.

Read More
Allotment beds seen from above, one pumpkin vine with red pumpkins spreading across into the next bed

Measuring Space Used by Tables per Filegroup in T-SQL

October 31, 2013
Pinal Dave
SQL Tips and Tricks
DBA, SQL Data Storage, SQL Server, SQL System Table, Table Partitioning

Measure tables per filegroup from allocation metadata, include LOB and overflow pages, and separate partition placement from growth history.

Read More
Birds on three telegraph wires at dusk, each wire mostly one kind of bird with a few others mixed in.

Finding the Most Frequent Value per Group in T-SQL

October 28, 2013
Pinal Dave
SQL Tips and Tricks
Ranking Functions, SQL Group By, SQL Scripts, SQL Server

Find the most frequent value in each group, choose a tie policy, and compare categorical modes with averages and numeric percentiles.

Read More
A row of garden chairs with red cushions, the chairs without cushions stacked by the shed.

A WHERE Filter That Turns Your LEFT JOIN Into an INNER JOIN

October 26, 2013
Pinal Dave
SQL Tips and Tricks
SQL Joins, SQL Scripts, SQL Server

Fix a LEFT JOIN whose right-table WHERE filter removes unmatched rows, inspect the inner-join plan, and search modules for candidates.

Read More
A row of meshed brass gears getting smaller, ending in a tiny red gear, one broken gear set aside

The PRODUCT Aggregate: Multiplying Values Across Rows

October 22, 2013
Pinal Dave
SQL Tips and Tricks
Mathematical Function, SQL Function, SQL NULL, SQL Server

Use the PRODUCT aggregate in SQL Server 2025 for growth factors and independent probabilities, with checks for NULL, zero, and precision.

Read More
A tray of seed potatoes in neat rows, a hand removing one spoiled potato into a red bowl

Reading a JSON Lines File Into a Table With OPENROWSET

October 22, 2013
Pinal Dave
SQL Tips and Tricks
ETL, File format, JSON, SQL Server

Load JSON Lines with OPENROWSET BULK, keep UTF-8 text intact, quarantine invalid objects, and insert validated typed rows.

Read More
Wool skeins on a table, one heap swept together and another sorted to remove repeats.

UNION vs UNION ALL: Reading the Operators Each One Adds to a Plan

October 19, 2013
Pinal Dave
SQL Performance
Execution Plan, SQL Server, SQL Union clause

Compare UNION vs UNION ALL through actual plans, duplicate-removal operators, memory grants and reads, then prove when branches cannot overlap.

Read More
Previous 1 … 261 262 263 264 265 266 267 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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