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 fitted drawer can update an intact cabinet or complete a prepared new frame.

SQL SERVER – CREATE OR ALTER Supported in Service Pack 1 of SQL Server 2016

December 19, 2016
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server, SQL Server 2016, SQL Service Pack

SQL Server 2016 Service Pack 1 introduced CREATE OR ALTER. I use it for repeatable deployments of supported object types.

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
SQL SERVER - System Function @@IDLE to Find System Ideal Time

SQL SERVER – System Function @@IDLE to Find System Ideal Time

November 26, 2016
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts, SQL Server

Running @@IDLE returns a number that is hard to read. Here is what this system function measures and how to turn it into idle time you can understand.

Read More
Hands drawing a rock across a white tile to leave a colored streak, other samples and a rock hammer nearby.

Telling Which Platform You Run On With SERVERPROPERTY EngineEdition

November 18, 2016
Pinal Dave
SQL Tips and Tricks
DBA, SQL Azure, SQL Function, SQL Server, SQL Server Configuration

Read EngineEdition with edition and version properties, select platform-aware diagnostics, and avoid treating an engine family as a license.

Read More
A freshly shaped bowl rests on a drying rack before the next pottery step

How to Introduce Time Delay Between Two T-SQL Commands? – Interview Question of the Week #091

October 2, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL DateTime, SQL Function, SQL Server

How do you introduce a Time Delay between two T-SQL commands? An interview question developers ask often, answered with WAITFOR DELAY.

Read More
Source trays have related fitted results, while one source remains beside an empty result recess.

SQL SERVER – How to Join a Table Valued Function with a Database Table

September 23, 2016
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server

I use APPLY to Join a Table Valued Function with rows from another table. The example passes each customer’s delivery city.

Read More
Previous 1 … 17 18 19 20 21 22 23 … 92 Next
  • Books
  • Testimonials
  • Privacy Policy

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