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
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 - 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
Diagram of the Resource Governor flow using the names from the example: requests go to the classification function dbo.UDFClassifier, which routes them to ReportServerGroup, PrimaryServerGroup or the default group, and each group uses its own resource pool; the report pool is limited to 30 percent of CPU and memory

Resource Governor Workload Groups and Pools: A Simple Setup Example

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

Resource Governor workload groups let you limit CPU and memory for competing workloads. This introduction answers what Resource Governor is and why you need it, then shows a full T-SQL setup example.

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
A pepper mill holds peppercorns above its mechanism with an unsuitable pebble caught before grinding

Second-Order SQL Injection: When Stored Data Becomes Code

May 30, 2012
Pinal Dave
SQL Tips and Tricks
Dynamic SQL, SQL Server Security, SQL String, SQL Variable

A safe insert does not make the saved value safe forever. Here is how stored text turns into code later, and the plain fix.

Read More
SQL SERVER - SmallDateTime and Precision - A Continuous Confusion

SQL SERVER – SmallDateTime and Precision – A Continuous Confusion

May 22, 2012
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Scripts, SQL Training

SmallDateTime and precision confuse a lot of people. I explain what the precision really is, using a Facebook question from Raghavendra.

Read More
SQL SERVER - Renaming Index - Index Naming Conventions

SQL SERVER – Renaming Index – Index Naming Conventions

May 21, 2012
Pinal Dave
SQL Tips and Tricks
SQL Index

Tables got renamed to a new standard, but what about the indexes? Tell me which index naming conventions you follow when renaming an index.

Read More
Previous 1 … 362 363 364 365 366 367 368 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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