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 cat with a new collar remains the same cat, beside its old collar

Can Admin Rename SA Account in SQL Server? – Interview Question of the Week #256

December 22, 2019
Pinal Dave
SQL Interview Questions and Answers
SQL Login, SQL Scripts, SQL Server, SQL Server Security

Question: Can Admin Rename SA Account in SQL Server?

Answer: Yes, of course. The syntax for to rename SA account is very simple:

Read More
Illustrated cover: OPTIMIZE FOR UNKNOWN

SQL SERVER – Parameter Sniffing and OPTIMIZE FOR UNKNOWN

December 21, 2019
Pinal Dave
SQL Tips and Tricks
Parameter Sniffing, SQL Performance, SQL Scripts, SQL Server, SQL Stored Procedure

I consider myself fortunate that I receive a follow-up question from my blog posts. Let’s discuss Parameter Sniffing and OPTIMIZE FOR UNKNOWN.

Read More
Illustrated cover: Parameter Sniffing

SQL SERVER – Parameter Sniffing Simplest Example

December 19, 2019
Pinal Dave
SQL Tips and Tricks
Execution Plan, Parameter Sniffing, SQL Scripts, SQL Server, SQL Stored Procedure

Today we will see a very simple example of the Parameter Sniffing. Let us see a very simple example of the parameter sniffing.

Read More
Gouache painting of a row of cream parcels each with a small brass bell on top, one parcel wrapped in vermilion

NOCOUNT Performance: What SET NOCOUNT ON Saves in a Loop

December 18, 2019
Pinal Dave
SQL Performance
SQL Cursor, SQL Scripts, SQL Server, SQL Stored Procedure

NOCOUNT performance depends on the messages that SQL Server no longer sends to the client. This post counts the network packets of a procedure with a 5,000 step loop, with the setting off and on. It also explains why some tests show no time gain, and where the setting helps most.

Read More
A hand watering the one dry pot in a row of geraniums on a porch step, the other pots left alone

Skipping No-Op Updates: Changing Only Rows That Really Differ

December 16, 2019
Pinal Dave
SQL Tips and Tricks
SQL NULL, SQL Scripts, SQL Server, SQL Server 2022, SQL Trigger

Skip no-op updates with NULL-safe EXCEPT or IS DISTINCT FROM, inspect affected counts, and avoid unnecessary rowversion and trigger changes.

Read More
The actual collection of towels is larger than the small hamper suggested

Why Execution Plan Operator Read More Rows Than Available? – Interview Question of the Week #255

December 15, 2019
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, SQL Performance, SQL Scripts, SQL Server

Question: Why Execution Plan Operator Read More Rows Than Available?

Answer: Statistics.

Now let us learn detailed answer in this blog post.

Read More
A local radiator valve adjusts heat for one room

What is the Priority of Database Scoped Configurations? – Interview Question of the Week #254

December 8, 2019
Pinal Dave
SQL Interview Questions and Answers
SQL CPU, SQL Performance, SQL Server, SQL Server Configuration

Question: What is the Priority of Database Scoped Configurations over Global Configuration at Server Level?

Answer: This is a follow-up question.

Read More
Previous 1 … 62 63 64 65 66 67 68 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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