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 - Three Puzzling Questions - Need Your Answer

SQL SERVER – Three Puzzling Questions – Need Your Answer

June 7, 2011
Pinal Dave
SQL Puzzle
SQL Scripts

Before I post summaries, here are my three puzzling questions again: SELECT * vs SELECT COUNT(*), statistics not updating, and functions vs procedures.

Read More
A wooden crate of apples at a market stall beside a small brass hand counter on the counter top.

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

May 30, 2011
Pinal Dave
SQL Puzzle
SQL Scripts, SQL Server

SELECT * gives an error when run alone, but SELECT COUNT(*) does not. Why? Here is my SELECT * vs SELECT COUNT(*) puzzle from the Bangalore User Group.

Read More
Reason Code Diagram.

SQL Azure – SQL Azure Throttling and Decoding Reason Codes

May 29, 2011
Pinal Dave
SQL Puzzle
SQL Azure

The best explanation I have seen of SQL Azure throttling and decoding reason codes, with a graphic. Could a stored procedure decode the reason code for us?

Read More
SQL SERVER - Cartoon Challenge - 140 Character Winner is Here

SQL SERVER – Cartoon Challenge – 140 Character Winner is Here

May 4, 2011
Pinal Dave
SQL Puzzle
Database, MVP, SQL Scripts

The Idera cartoon challenge drew more than 250 entries. Here is the winning 140 character answer that wins a Windows Phone 7, plus five runners-up.

Read More
SQL SERVER - Finding Location of Log File when Primary Datafile is Crashed

SQL SERVER – Finding Location of Log File when Primary Datafile is Crashed

April 15, 2011
Pinal Dave
SQL Puzzle
SQL Scripts

Do you need the primary datafile to back up the log after a crash? Vinod Kumar asked, so I tried finding the location of the log file without it.

Read More
SQL SERVER - SQLServer Quiz 2011 - Do you know your execution plan - Two questions - One Answer

SQL SERVER – SQLServer Quiz 2011 – Do you know your execution plan – Two questions – One Answer

March 15, 2011
Pinal Dave
SQL Puzzle
SQL Scripts

My question for SQL Server Quiz 2011: using one table once in a single SELECT, produce an execution plan with a JOIN operator, then one with parallelism.

Read More
Execution plan with cost metrics.

SQL SERVER – Solution – Challenge – Puzzle – Usage of FAST Hint

December 6, 2010
Pinal Dave
SQL Puzzle
SQL Scripts

The solution to my puzzle on the usage of FAST hint: Brad Schulz shows an AdventureWorks example where the FAST hint really improves performance.

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

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