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
Config values that needs restart.

SQL SERVER – Which Settings Change in sp_configure Needs Restart to Take Effect?

January 1, 2019
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server 2017, SQL Server Configuration, Starting SQL

Which settings changed in sp_configure need a restart to take effect? You do not need to remember them, because a catalog view added in SQL Server 2008 tells you.

Read More
A laden plum tree with a tiny bowl at its foot and a large red crate beside it.

Multi-Statement Table-Valued Functions and Interleaved Execution

November 21, 2018
Pinal Dave
SQL Performance
Execution Plan, SQL Function, SQL Performance, SQL Server 2017

See how interleaved execution corrects estimates for multi-statement table-valued functions and when an inline rewrite wins.

Read More
Result column flipping between 1 and 0.

Puzzle – Datatime to DateTime2 Conversation in SQL Server 2017

November 16, 2018
Pinal Dave
SQL Puzzle
SQL DateTime, SQL Scripts, SQL Server, SQL Server 2017

At PASS, SQL Server expert Christopher Savage showed me a puzzle on DateTime to DateTime2 conversion in SQL Server 2017. I still have no answer, so can you solve it?

Read More
Identifying Deprecated SQL Server Features with Extended Events.

SQL SERVER – Identifying Deprecated SQL Server Features with Extended Events

April 7, 2018
Pinal Dave
SQL Tips and Tricks
SQL Deprecated Feature, SQL Extended Events, SQL Scripts, SQL Server, SQL Server 2017

With Extended Events, you can identify all the deprecated SQL Server features your code still uses. It is very handy before you change compatibility level.

Read More
A round-bottomed wooden wobble toy with a red base rocking back upright on a table.

Automatic Plan Correction: Reading SQL Server’s Tuning Advice

March 10, 2018
Pinal Dave
SQL Performance
Execution Plan, Query Store, SQL Performance, SQL Server 2017

Read automatic plan correction advice, compare regressed and recommended plans, and verify that forcing the last good plan held.

Read More
Procedure cache at database level.

SQL SERVER – 2017 – Script to Clear Procedure Cache at Database Level

January 27, 2018
Pinal Dave
SQL Tips and Tricks
SQL Cache, SQL Scripts, SQL Server, SQL Server 2017

I usually say no when customers ask to clear the cache. If you must, here is how to Clear Procedure Cache at database level in SQL Server 2017.

Read More
Illustrated cover: Identity Jumps by 1000

SQL SERVER – Identity Jumping 1000 – IDENTITY_CACHE

January 24, 2018
Pinal Dave
SQL Performance
SQL Identity, SQL Scripts, SQL Server, SQL Server 2017

Has your identity column ever jumped by 1000 after a restart? SQL Server 2017 fixes it with IDENTITY_CACHE. Here is a demo with the setting ON and OFF.

Read More
1 2 Next
  • Books
  • Testimonials
  • Privacy Policy

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