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
Sep9

Contained Database Users: Logins That Move With the Database

Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Login, SQL Password, SQL Server, SQL Server Security
No Comments

Use contained database users to move authentication with a database, inspect prerequisites, test connections, and review access ownership.

Continue Reading
Sep8

SQL SERVER – Find Row Count in Table – Find Largest Table in Database – Part 2

Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts
30 Comments

An improved script to find row count in table for every table and spot the largest table in the database, now with the schema name, thanks to Ameena.

Continue Reading
Sep7

SQL SERVER – Index Levels and Delete Operations – Page Level Observation

Pinal Dave
SQL Interview Questions and Answers
SQL Index, SQL Scripts
10 Comments

When you delete data from a table, does SQL Server reduce its size? A page level look at index levels and delete operations, corrected with Hrvoje’s help.

Continue Reading
Sep6

SQL SERVER – Index Created on View not Used Often – Limitation of the View 3

Pinal Dave
SQL Performance
SQL Scripts, SQL Server, SQL View
11 Comments

An Index Created on a view does not always stop queries from reading the base table. Limitation 3 of views, shown with a simple example.

Continue Reading
Sep5

FOR JSON PATH: Choose Whether NULL Properties Appear

Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts
No Comments

FOR JSON PATH omits NULL properties by default. Compare INCLUDE_NULL_VALUES with missing properties and empty strings in a complete output example.

Continue Reading
Sep4

Tagging With a Many-to-Many Table: Storing and Querying Hashtags

Pinal Dave
SQL Tips and Tricks
Database, Normalization, SQL Constraint and Keys, SQL Joins
1 Comment

Store hashtags in a tag and bridge table, normalize input, query any or all requested tags, and count weekly trends without scans.

Continue Reading
Sep3

SQL SERVER – Soft Delete – IsDelete Column – Your Opinion

Pinal Dave
SQL Tips and Tricks
48 Comments

Soft delete with an IsDelete column marks rows as deleted but keeps them. Michael J Swart dislikes it, and I agree. I share a similar story and ask your opinion.

Continue Reading
Previous 1 … 635 636 637 638 639 640 641 … 846 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