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
SQL SERVER - Service Broker and CAP_CPU_PERCENT - Limiting SQL Server Instances to CPU Usage

SQL SERVER – Service Broker and CAP_CPU_PERCENT – Limiting SQL Server Instances to CPU Usage

June 9, 2012
Pinal Dave
SQL Tips and Tricks
Service Broker, SQL Scripts

Jeff said my Resource Governor script did not limit CPU at all. After a few emails we found why, and how CAP_CPU_PERCENT really limits CPU usage.

Read More
SQL SERVER - A Puzzle - Swap Value of Column Without Case Statement

SQL SERVER – A Puzzle – Swap Value of Column Without Case Statement

June 8, 2012
Pinal Dave
SQL Puzzle

An interview puzzle: write one UPDATE that flips male to female and female to male. Can you swap value of column data without a CASE statement?

Read More
A croquet mallet rests beside identical balls on the same flat strip of lawn

A Repeatable Workload: Testing a Tuning Change Fairly

June 7, 2012
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Monitoring, SQL Performance, Testing

One quick run can fool you. Here is a small, fixed test you can rerun before and after any index.

Read More
SQL SERVER - Tricks to Replace SELECT * with Column Names - SQL in Sixty Seconds #017 - Video

SQL SERVER – Tricks to Replace SELECT * with Column Names – SQL in Sixty Seconds #017 – Video

June 6, 2012
Pinal Dave
SQL Video
Database, SQL in Sixty Seconds, SQL Scripts, SQL Server Management Studio

SELECT * pulls extra columns, hurts plans and makes debugging hard. This sixty second video shows two tricks to replace SELECT * with column names.

Read More
SQL SERVER - Fix: Error: 10920 Cannot drop user-defined function. It is being used as a resource governor classifier

SQL SERVER – Fix: Error: 10920 Cannot drop user-defined function. It is being used as a resource governor classifier

June 5, 2012
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

Error 10920 stops you from dropping a user-defined function that is still the Resource Governor classifier. Here is why, and how to clean it up.

Read More
SQL SERVER - Simple Example to Configure Resource Governor - Introduction to Resource Governor

SQL SERVER – Simple Example to Configure Resource Governor – Introduction to Resource Governor

June 4, 2012
Pinal Dave
SQL Tips and Tricks
Resource Governor, SQL Scripts, SQL Server

What is Resource Governor and why use it? It limits CPU and memory for competing workloads. A simple question and answer introduction with an example to set it up.

Read More
A parcel sorting table where one wrapped package has been set down in the wrong chute mouth.

SQL SERVER – Fix: Error 147 An aggregate may not appear in the WHERE clause

June 3, 2012
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server

Error 147: An aggregate may not appear in the WHERE clause. A beginner was stuck on it for a long time, so here is the simple fix, explained for beginners.

Read More
Previous 1 … 531 532 533 534 535 536 537 … 841 Next
  • Books
  • Testimonials
  • Privacy Policy

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