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
Oct17

Audit Columns From Day One: CreatedAt, UpdatedAt and Who Changed It

Pinal Dave
SQL Tips and Tricks
SQL Audit, SQL Constraint and Keys, SQL DateTime, SQL Server, SQL Trigger
No Comments

Add audit columns with UTC timestamps and trusted change identities, maintain updates in procedures, and know when history is needed.

Continue Reading
Oct16

A Multi-Tenant Schema With a TenantId Column: Keys, Indexes and Safety

Pinal Dave
SQL Tips and Tricks
Schema, SQL Constraint and Keys, SQL Index, SQL Server, SQL Server Security
2 Comments

Design a multi-tenant schema with composite keys, tenant-first indexes, trusted session context, and row-level security checks.

Continue Reading
Oct15

Backing Up msdb: Jobs, History and Mail Live There

Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Server, SQL Server Agent
No Comments

Your user databases come back, but the jobs and mail setup do not. A short demo of what lives in msdb and how to protect it.

Continue Reading
Oct14

SQL SERVER – Find First Non-Numeric Character from String

Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL String
11 Comments

No built-in function finds the first non-numeric character in a string, so I use PATINDEX. Here is a quick script with sample data you can try.

Continue Reading
Oct13

SQL SERVER – 2012 – List All The Column With Specific Data Types in Database

Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL System Table
19 Comments

An updated SQL Server 2012 script to list every column with specific data types in a database, including user data types, schema and table names.

Continue Reading
Oct12

Cleaning Address Data in T-SQL: Trimming, Casing and Standardizing

Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server, SQL String
2 Comments

Start cleaning address data with preserved originals, normalized spaces, careful casing, street-word mappings, and postal-code review flags.

Continue Reading
Oct11

Rolling Out Database Changes Gradually

Pinal Dave
SQL Tips and Tricks
DevOps, Schema, Software Development, SQL Server
No Comments

Roll out database changes gradually with expand-and-contract steps, feature flags, data checks, and a rollback path for each stage.

Continue Reading
Previous 1 … 518 519 520 521 522 523 524 … 847 Next

SQL Server slow? Let's fix it together in about four hours.

Pinal Dave

In my Comprehensive Database Performance Health Check, you share your screen, I guide you, and we fix your biggest performance troublemakers. No passwords. No remote access.

You keep every script, and the know-how to fix it yourself next time.

Want your whole team to learn it?

My Practical Workshop has no PowerPoint, just live demos. My AI Enablement Workshop shows your team where AI saves hours, and where it quietly costs them.

Over 400 customers have worked with me this way, and not one shared a password. See all consulting options.


Who We Are

Pinal Dave is an SQL Server Performance Tuning Expert and independent consultant with over 24 years of hands-on experience. He holds a Masters of Science degree and numerous database certifications.

Pinal has authored 19 books and 125 Pluralsight courses. To freely share his knowledge and help others build their expertise, Pinal has also written more than 5,800 database tech articles on his blog at https://blog.sqlauthority.com.

Pinal is also a CrossFit Level 1 Trainer (CF-L1) and CrossFit Level 2 Trainer (CF-L2).


Nupur Dave is a social media enthusiast and an independent consultant. She primarily focuses on the database domain, helping clients build short and long-term multi-channel campaigns to drive leads for their sales pipeline.


Shaivi Pinalkumar Dave is a book author and a women’s artistic gymnast.

  • Books
  • Testimonials
  • Privacy Policy

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