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 pair of white ice skates on a snowy bench with a loose coil of lace beside them

ZIP Codes Stored as int: Lost Zeros and How to Repair Them

December 10, 2021
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Server, SQL Stored Procedure

An int column turns 01234 into 1234 and never gives the zero back. Here is how to fix the column, and how to repair old rows without guessing.

Read More
A hearth ash rake beside settled ashes from an earlier fire

tempdb-Heavy Queries: Finding Them in Query Store

December 8, 2021
Pinal Dave
SQL Performance
Query Store, SQL Server, SQL TempDB

The tempdb spike is over before you log in. Query Store remembers who caused it, and here is how to ask.

Read More
Gouache painting: three stands at a dairy loading dock

Scalar Subqueries: An Empty Input Produces NULL

December 6, 2021
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Scripts, SQL Server

Scalar subqueries contribute one value to an outer row. Keep row absence separate from a present NULL and enforce the at-most-one-row contract.

Read More
current time zone

Get Current Time Zone – SQL in Sixty Seconds #187

November 23, 2021
Pinal Dave
SQL Video
SQL DateTime, SQL in Sixty Seconds, SQL Scripts, SQL Server

Lots of people often ask me how to get the current time zone in SQL Server when I am working on Comprehensive Database Performance Health Check.

Read More
memory pressure

Detecting Memory Pressure – SQL in Sixty Seconds #186

November 17, 2021
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Memory, SQL Scripts, SQL Server

After my video on CPU running 100%, many of you asked for one on memory. Here is my SQL in Sixty Seconds video on detecting memory pressure.

Read More
A strapped bundle of oak parquet blocks with a red band beside a jumbled heap of planks.

Parquet Exports From SQL Server 2022 With CETAS

November 10, 2021
Pinal Dave
SQL Tips and Tricks
Cloud Computing, File format, SQL Server, SQL Server 2022

Build Parquet exports from SQL Server 2022 with PolyBase CETAS, S3-compatible storage, and checks for rows, types, and files.

Read More
A walker on a birch woodland trail following red paint blazes, continuing through a stretch of trees with no marks.

IGNORE NULLS in SQL Server 2022: Carrying the Last Known Value Forward

November 8, 2021
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL NULL, SQL Server, SQL Server 2022

Use IGNORE NULLS for forward-filled readings, find the next known value, and compare the older running-count grouping method carefully.

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

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