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
An empty warehouse receiving dock at dawn with a new conveyor running to an open door, and a hand-lettered cardboard sign taped to the frame reading MONDAYS: WAIT TILL 9

AI Generated ETL Worked on Day One. Then Came Monday.

September 25, 2026
Pinal Dave
AI
AI, Data Observability, Data Warehousing, ETL

AI generated ETL ran clean on the first try, and it took six weeks to find out what it was missing. A late Monday file, a file sent twice, a file full of zeros and mangled names all got through. The ugly old job had a rule for every one of them, and nobody had written those rules down. Now I ask AI for the failure list before I ask for any code.

Read More
Gouache painting: a garden irrigation channel of stone with small wooden gates that direct the flowing water to different vegetable beds; one gate is vermilion

First Look at Apache Airflow 3.0: A Game-Changer in Workflow Orchestration

June 27, 2025
Pinal Dave
SQL Tips and Tricks
Apache Airflow, ETL, Python

If you’ve spent any time wrangling data pipelines, you know that Apache Airflow is a staple in the orchestration world. Let us learn.

Read More
Execution plan.

Apache Spark and Airflow in Action : My Experience

November 28, 2024
Pinal Dave
SQL Tips and Tricks
Apache Airflow, ETL, Python

Recently, I’ve been working with a large client where we’re diving deep into Apache Spark and Apache Airflow. Let us learn!

Read More
A hand picking a small stone out of a tray of raw rice, the empty cooking pot waiting beside it.

Data Quality Asserts in T-SQL: Failing a Load When Rules Break

May 4, 2023
Pinal Dave
SQL Tips and Tricks
ETL, SQL Error Messages, SQL Server, SQL Transactions

Write data quality asserts in T-SQL to reject invalid staging rows, preserve check results, and record each load attempt.

Read More
A hand testing eggs through a wooden sizing ring before packing them, two oversized eggs set aside in a red bowl.

TRY_CAST vs CAST: Finding Rows That Will Not Convert Before a Load

December 7, 2022
Pinal Dave
SQL Tips and Tricks
ETL, SQL Datatype, SQL DateTime, SQL Function, SQL Server

Find text values that will not convert before loading, separate invalid and missing input, and use explicit date styles and culture parsing.

Read More
A white goose standing among lettuces as a hand closes the garden gate that was propped open behind it.

NOCHECK CONSTRAINT: Loading Data and Trusting Foreign Keys Again

October 8, 2021
Pinal Dave
SQL Tips and Tricks
ETL, SQL Constraint and Keys, SQL Scripts, SQL Server

Use NOCHECK CONSTRAINT carefully, distinguish enabled from trusted foreign keys, validate old rows, and restore optimizer assumptions.

Read More
A pottery roller leaves patterned impressions in clay tiles, with one tile showing a different gap.

Detecting Changed Rows With a Row Hash

February 29, 2020
Pinal Dave
SQL Tips and Tricks
Batch, ETL, SQL Function, Temp Table

Compare one fingerprint instead of twenty columns. I show a safe HASHBYTES recipe, the NULL trap that fools CONCAT_WS, and a load that touches only the rows that changed.

Read More
1 2 3 4 … 8 Next
  • Books
  • Testimonials
  • Privacy Policy

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