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
SQL Server Interview Question.

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
Create or Alter Tool Window.

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

No more IF EXISTS and DROP before CREATE. SQL Server 2016 Service Pack 1 adds CREATE OR ALTER for stored procedures and other objects.

Read More
Simple Example of CASE WHEN Statement.

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
How to Introduce Time Delay Between Two T-SQL Commands? - Interview Question of the Week #091

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
SQL SERVER - How to Join a Table Valued Function with a Database Table

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

How do you join a table valued function with a database table? I try it on the WideWorldImporters sample database. It works from SQL Server 2008 on.

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

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