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
Sep24

Get Partition Info in SQL Server: Rows and Boundaries

Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL System Table, Table Partitioning
1 Comment

To get partition info in SQL Server, join sys.partitions to the partition scheme, function and filegroup views. This post builds a small partitioned table, lists every partition with its boundaries, row count and filegroup, and shows how to find the partition for a value. It also lists the tables that have more than one partition.

Continue Reading
Sep23

SQL SERVER – Table Variables or Temp Tables – Performance Comparison – SELECT

Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL TempDB, SQL Variable, Temp Table
5 Comments

Today we are going to discuss the performance comparison of table variables and temp tables when we are running SELECT queries.

Continue Reading
Sep22

Where is Table Variable Created? – Interview Question of the Week #243

Pinal Dave
SQL Interview Questions and Answers
Disk, SQL Scripts, SQL Server, SQL TempDB, Temp Table
1 Comment

Question: Where is Table Variable Created?

Answer: On Hard Disk and NOT in Memory.

I suggest you read the following blogs

Continue Reading
Sep21

SQL SERVER – Table Variable or Temp Table – Performance Comparison – INSERT

Pinal Dave
SQL Performance
SQL Scripts, SQL Server, SQL Variable, Temp Table
No Comments

In this blog post, we will talk about Performance Comparison between Table Variable or Temp Table. Comprehensive Database Performance Health Check

Continue Reading
Sep20

SQL SERVER – Regular Table or Temp Table – TempDB Logging Explained

Pinal Dave
SQL Performance
SQL Scripts, SQL Server, SQL TempDB, Temp Table, Transaction Log
No Comments

After the blog posts about temp and regular table, I have received questions about it hence I am writing this blog post about TempDB Logging.

Continue Reading
Sep19

SQL SERVER – Regular Table or Temp Table – A Quick Performance Comparison

Pinal Dave
SQL Performance
ETL, SQL Scripts, SQL Server, Temp Table
7 Comments

For a data load, which is faster: a regular table or temp table? My client asked, and I answered with proof and a working demo you can run yourself.

Continue Reading
Sep18

SQL SERVER – Check for Update in SSMS

Pinal Dave
SQL Tips and Tricks
Cumulative Update, SQL Scripts, SQL Server, SQL Server Management Studio
3 Comments

How to check for an update in SSMS depends on the installed generation. My fintech-customer walkthrough showed SSMS 18 settings.

Continue Reading
Previous 1 … 147 148 149 150 151 152 153 … 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