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 DATEADD function results.

SQL SERVER – Quiz with DATEADD Function – SQL Puzzle

February 17, 2015
Pinal Dave
SQL Puzzle
SQL DateTime, SQL Function, SQL Scripts, SQL Server

A quick DATEADD Function quiz: guess what adding one month to a late January date returns before you run it in SSMS. Date math has a few pitfalls.

Read More
Select query with divide by zero error.

SQL SERVER – Puzzle – Why Divide by Zero Error

December 29, 2014
Pinal Dave
SQL Puzzle

Why does SELECT 10000/(17/17/17) return a divide by zero error? A new puzzle, similar to my decimal rounding one but with a different approach.

Read More
SQL SERVER - Puzzle - Why Decimal is Rounded Up?

SQL SERVER – Puzzle – Why Decimal is Rounded Up?

December 24, 2014
Pinal Dave
SQL Puzzle
SQL Scripts

Why decimal is rounded up in one script and not in the other when both divide 10000 by 17? Try this holiday puzzle before you read the comments.

Read More
SQL SERVER - A Question on SSMS Prompt about Connect to Server

SQL SERVER – A Question on SSMS Prompt about Connect to Server

September 21, 2014
Pinal Dave
SQL Puzzle
SQL Azure

A fun Sunday question for you about the Connect to Server prompt in SSMS and when it shows the Azure Storage option. Do you know the answer?

Read More
SQL SERVER - Contest Winner - What Next on SQL in Sixty Seconds - Poll Result

SQL SERVER – Contest Winner – What Next on SQL in Sixty Seconds – Poll Result

June 4, 2014
Pinal Dave
SQL Puzzle
SQL Server

The poll for the next SQL in Sixty Seconds videos is closed, and most readers want performance tuning. Here are the results and the contest winner.

Read More
SQL Puzzle - A Quick Fun with Bit Wise Operator

SQL Puzzle – A Quick Fun with Bit Wise Operator

February 7, 2014
Pinal Dave
SQL Puzzle

A quick Friday SQL puzzle on the Bit Wise Operator: SELECT 10 & 10 returns 10, so why do 10 & 0 and 1 & 100 both return zero?

Read More
SQL SERVER - Start Services or Stop Services with PowerShell - Question to Readers?

SQL SERVER – Start Services or Stop Services with PowerShell – Question to Readers?

January 5, 2014
Pinal Dave
SQL Puzzle
PowerShell, SQL Server

A reader asks why you need the -Force flag to stop services with PowerShell but not to start them. I do not know the answer, so I am asking you.

Read More
Previous 1 … 4 5 6 7 8 9 10 … 24 Next
  • Books
  • Testimonials
  • Privacy Policy

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