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
SQLAuthority News - Monthly list of Puzzles and Solutions on SQLAuthority.com

SQLAuthority News – Monthly list of Puzzles and Solutions on SQLAuthority.com

June 28, 2011
Pinal Dave
SQL Puzzle
SQL Scripts

A monthly list of puzzles and solutions on SQLAuthority.com, from a NULL puzzle that breaks SUM to finding the maximum between two numbers.

Read More
Error dialog explaining why a query does not throw an error.

SQL SERVER – Puzzle Involving NULL – Resolve – Error – Operand data type void type is invalid for sum operator

June 27, 2011
Pinal Dave
SQL Puzzle
SQL NULL, SQL Operator, SQL Scripts, SQL Server

SELECT SUM over a lone NULL throws Msg 8117: Operand data type void type is invalid for sum operator. Here is why it happens and how ISNULL fixes it.

Read More
SQL SERVER - BI Quiz Hint - Performance Tuning Cubes - Hints

SQL SERVER – BI Quiz Hint – Performance Tuning Cubes – Hints

June 24, 2011
Pinal Dave
SQL Puzzle
Business Intelligence, SQL Server

Hints for my SQL BI Quiz on performance tuning cubes: what would you check first when a cube that was fast suddenly returns data very slowly?

Read More
SQL SERVER - Solution - Generating Zero Without using Any Numbers in T-SQL

SQL SERVER – Solution – Generating Zero Without using Any Numbers in T-SQL

June 21, 2011
Pinal Dave
SQL Puzzle

Madhivanan asked how to get zero without using any numbers in T-SQL. Here are the clever reader answers, from SELECT $ to counting a NULL cast.

Read More
SQL SERVER - Solution - Puzzle - Statistics are not Updated but are Created Once

SQL SERVER – Solution – Puzzle – Statistics are not Updated but are Created Once

June 17, 2011
Pinal Dave
SQL Puzzle
SQL Index, SQL Scripts, SQL Statistics

The solution to my puzzle on why statistics are not updated but are created once after a large insert, even with auto update on, and the fix that worked for me.

Read More
SQL SERVER - Solution - Puzzle - SELECT * vs SELECT COUNT(*)

SQL SERVER – Solution – Puzzle – SELECT * vs SELECT COUNT(*)

June 15, 2011
Pinal Dave
SQL Puzzle
SQL Scripts

The solution to my puzzle on why SELECT * throws an error but SELECT COUNT(*) does not, with the best reader answers and credit to Rob Farley.

Read More
SQLAuthority News - BI Quiz Question - How to Optimize Cube? - Hints

SQLAuthority News – BI Quiz Question – How to Optimize Cube? – Hints

June 14, 2011
Pinal Dave
SQL Puzzle

Hints for my SQL BI Quiz question on how to optimize cube performance: find the root cause of the slowdown and check if hardware is to blame.

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

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