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
Query Ignoring

Query Ignoring CPU Threads – SQL in Sixty Seconds #161

May 10, 2021
Pinal Dave
SQL Video
SQL CPU, SQL in Sixty Seconds, SQL Server

I have an interesting experience to share about the Query Ignoring CPU Threads. I was hired by a large eCommerce organization.

Read More
Gouache painting of a wooden loom with a cream weaving and a vermilion shuttle trailing red thread

OS Threads by Scheduler in SQL Server: Count Them per CPU

May 7, 2021
Pinal Dave
SQL Performance
SQL CPU, SQL DMV, SQL Scripts, SQL Server

OS threads by scheduler shows how many Windows threads each SQL Server scheduler owns. This post joins the scheduler, worker and thread views and counts them per CPU. It compares the counts with the server totals and explains the hidden schedulers that a careless query counts as CPUs.

Read More
Populated, retained and empty receiving drawers remain separate from an outbound case.

SQL SERVER – List Service Broker Queue Count

May 4, 2021
Pinal Dave
SQL Tips and Tricks
Service Broker, SQL Scripts, SQL Server

I inspect Service Broker Queue Count through queue and internal-table catalogs. A customer requested a quick inventory.

Read More
Drawer, work-area and cabinet latches remain distinct beside one inspected fitting.

SQL SERVER – Enabling or Disabling Triggers with the Correct Scope

May 3, 2021
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Trigger

To disable all triggers correctly, I first identify the required scope. My original customer case concerned expensive table-trigger work.

Read More
Gouache painting of three potted seedlings on a greenhouse shelf, the middle one in a deep vermilion pot and slightly taller, with a wooden ruler leaning at the front

Simple Interest in SQL Server: A Function That Keeps Cents

April 30, 2021
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts, SQL Server

Simple interest in SQL Server is principal times rate times years divided by 100, and a T-SQL function returns it in one line. This post shows how an int return type drops the cents and what SCHEMABINDING changes. It measures the cost of a scalar function on 500,000 rows and ends with compound interest.

Read More
Gouache illustration of the difference between Count and COUNT_BIG, with small and large token containers beside separate assembly fittings.

SQL SERVER – Difference Between Count and Count_Big

April 29, 2021
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Scripts, SQL Server

The difference between Count and COUNT_BIG includes result range and indexed-view requirements. Their row-counting rules are the same.

Read More
bitwise puzzle

Bitwise Puzzle – SQL in Sixty Seconds 160

April 26, 2021
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Scripts, SQL Server

Many did not believe in the real world and based on the request, I have made the recent video on the same topic of the bitwise puzzle. 

Read More
Previous 1 … 21 22 23 24 25 26 27 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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