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 hand press has produced a stack of identical clay tiles through repeated work

How to Find Number of Times Function Called in SQL Server? – Interview Question of the Week #104

December 25, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL DMV, SQL Function, SQL Scripts, SQL Server, SQL Server 2016

A function was causing CPU spikes. How many times was that function called, and at what cost? The SQL Server 2016 DMV dm_exec_function_stats shows it.

Read More
A shared bookbinding press is busy while another stack waits for its turn

What is Memory Grants Pending in SQL Server? – Interview Question of the Week #103

December 23, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Memory, SQL Scripts, SQL Server

What is Memory Grants Pending in SQL Server? A short interview-style answer: what the counter shows, what value you want to see and why it matters.

Read More
Either of two water chutes feeds one stone basin

How to Use OR Condition in CASE WHEN Statement? – Interview Question of the Week #102

December 18, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Function, SQL Scripts, SQL Server

How do you use an OR condition in a CASE WHEN statement? A tricky interview question, and how to write it so the logic works.

Read More
Earlier plant stages remain visible beneath the current version on layered vellum

Special Icon on System-Versioned Table in SQL Server 2016 – Interview Question of the Week #101

December 11, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Server, SQL Server Management Studio, SQL System Table, Temporal Table

Expanding tables in WideWorldImporters in SSMS 2016, you see an icon like a watch. It marks a System-Versioned table, also known as a temporal table.

Read More
Several pneumatic message tubes deliver separate capsules into one inspection tray

DMV to Replace DBCC INPUTBUFFER Command – Interview Question of the Week #100

December 4, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL DMV, SQL Scripts, SQL Server, SQL Server DBCC

Is there a DMV to replace the DBCC INPUTBUFFER command? An interview question that caught me off guard, answered with sys.dm_exec_input_buffer.

Read More
A large coarse threaded brass coupling and a smaller fine threaded steel fitting cannot connect directly

How to Downgrade Database from SQL Server 2014 to SQL Server 2012 – Interview Question of the Week #099

November 27, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Server

Can you downgrade a database from SQL Server 2014 to SQL Server 2012? Not directly, but there is one workaround: script the database with data and run it.

Read More
Three short marble runs have finished while one marble remains on a longer winding run

How to Find Longest Running Query With Execution Plan – Interview Question of the Week #098

November 20, 2016
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, SQL Server, SQL Server Management Studio

How do you find the longest running query with execution plan in SQL Server? Here is a quick DMV query that returns the top 10 along with their plans.

Read More
Previous 1 … 27 28 29 30 31 32 33 … 58 Next
  • Books
  • Testimonials
  • Privacy Policy

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