Jun 2026 Discount: Comprehensive Database Performance Health Check | Testimonials

Home
  • Consulting
  • Training
  • Free Videos
  • All Articles
    • Interview Questions and Answers
    • SQL Tips and Tricks
    • SQL Performance
    • SQL Puzzle
    • Big Data
    • Blog Stats
    • SQL Books
  • Hire Me
  • Health Check
Aug17

SQL SERVER – Building Date and Time with DATETIMEFROMPARTS()

Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Scripts, SQL Server, SQL String
No Comments

Today we will have very simple learning about Building Date and Time with DATETIMEFROMPARTS(). We will build the DateTime using a function.

Read More
Aug16

SQL SERVER – Lots of Runnable SPID – What Next?

Pinal Dave
SQL Performance
CPU Threads, SQL CPU, SQL DMV, SQL Scripts, SQL Server
No Comments

Once we fixed this issue of bottlenecks, we ended up on a very different issue where we had lots of runnable SPID and CPU was still underutilizing.

Read More
Aug15

SQL SERVER – How to Shrink tempDB Database?

Pinal Dave
SQL Tips and Tricks
Shrinking Database, SQL Scripts, SQL Server, SQL Server DBCC, SQL TempDB
2 Comments

In the email yesterday from the client who earlier hired me for performance tuning had a small question about how to shrink tempdb database.

Read More
Aug14

SQL SERVER – Show Primary Key for a Single Table – sp_pkeys

Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Stored Procedure, System Object
1 Comment

Recently, one of my clients showed me a very cool trick to check Primary Key for a single table with the help of the system stored procedure sp_pkeys.

Read More
Aug13

SQL SERVER – Power Options, Power Plans and Database Performance

Pinal Dave
SQL Performance
SQL Server, SQL Server Configuration, Windows
2 Comments

After a careful investigation into their system, we learned that this issue was with Power Options. Let us learn about that in this blog post.

Read More
Aug12

SQL SERVER – Detecting CPU Pressure with Wait Statistics

Pinal Dave
SQL Performance
CPU Threads, SQL CPU, SQL Scripts, SQL Server, SQL Wait Stats
No Comments

I eventually expressed them it is possible to detect CPU pressure with Wait Statistics. We explained to them my method during the Health Check.

Read More
Aug11

How to Skip Top N Rows in SQL Server? – Interview Question of the Week #237

Pinal Dave
SQL Interview Questions and Answers
Ranking Functions, SQL Function, SQL Paging, SQL Scripts, SQL Server
1 Comment

Question: How to skip top N Rows in SQL Server and retrieve the rest of the rows? Answer: I had asked the above question in one of the interviews last week.

Read More
Previous 1 … 137 138 139 140 141 142 143 … 831 Next
How to Skip Top N Rows in SQL Server? - Interview Question of the Week #237 DATETIMEFROMPARTS0-800x278

SQL SERVER – Building Date and Time with DATETIMEFROMPARTS()

How to Skip Top N Rows in SQL Server? - Interview Question of the Week #237 runnablespid-800x390

SQL SERVER – Lots of Runnable SPID – What Next?

How to Skip Top N Rows in SQL Server? - Interview Question of the Week #237 shrink-tempdb-800x237

SQL SERVER – How to Shrink tempDB Database?

How to Skip Top N Rows in SQL Server? - Interview Question of the Week #237 sp_pkeys0-800x182

SQL SERVER – Show Primary Key for a Single Table – sp_pkeys

How to Skip Top N Rows in SQL Server? - Interview Question of the Week #237 poweroption-800x185

SQL SERVER – Power Options, Power Plans and Database Performance

How to Skip Top N Rows in SQL Server? - Interview Question of the Week #237 cpuwithwait-800x194

SQL SERVER – Detecting CPU Pressure with Wait Statistics

How to Skip Top N Rows in SQL Server? - Interview Question of the Week #237 skippingrows-800x168

How to Skip Top N Rows in SQL Server? – Interview Question of the Week #237

Previous 1 … 137 138 139 140 141 142 143 … 831 Next

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 14 SQL Server database books and 109 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 an experienced and dedicated professional with a deep commitment to flawless customer service. If you need help with any SQL Server Performance Tuning Issues, please feel free to reach out at pinal@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.

Comprehensive Database Performance Health Check

Is your SQL Server running slow and you want to speed it up without sharing server credentials? In my Comprehensive Database Performance Health Check, we can work together remotely and resolve your biggest performance troublemakers in less than 4 hours.

Once you learn my business secrets, you will fix the majority of problems in the future.


SQL Server Performance Tuning Practical Workshop

Have you ever opened any PowerPoint deck when you face SQL Server Performance Tuning emergencies? SQL Server Performance Tuning Practical Workshop is my MOST popular training with no PowerPoint presentations and 100% practical demonstrations.

Essentially I share my business secrets to optimize SQL Server performance.


  • SQL Interview Q & A
  • Testimonials
  • Search
  • Privacy Policy

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