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
puzzle

SQLAuthority News – T-SQL Challenges and Hints and Suggestions

August 2, 2010
Pinal Dave
SQL Puzzle
SQL Server

Not sure where to start with T-SQL Challenges? I am writing monthly posts with T-SQL Challenges and hints to help you get started.

Read More
SQL SERVER- IF EXISTS(Select null from table) vs IF EXISTS(Select 1 from table)

SQL SERVER- IF EXISTS(Select null from table) vs IF EXISTS(Select 1 from table)

February 21, 2010
Pinal Dave
SQL Puzzle
Best Practices, SQL Scripts

Is IF EXISTS(Select null from table) faster than IF EXISTS(Select 1 from table)? A great comment thread by Divya, Brian and Marko answers it.

Read More
SQL SERVER - Question - How to Convert Hex to Decimal

SQL SERVER – Question – How to Convert Hex to Decimal

February 1, 2010
Pinal Dave
SQL Puzzle

An inline function converting Hex to Decimal was slowing a client query. I tuned it, and now I ask readers to share the scripts they use for this.

Read More
Results window of AdventureWorks.

SQL SERVER – Size of Index Table – A Puzzle to Find Index Size for Each Index on Table

November 18, 2009
Pinal Dave
SQL Puzzle
SQL Index, SQL Scripts, SQL Stored Procedure

sp_spaceused shows the total index size of a table. My puzzle for you: write a query that adds the size of each index to the sys.indexes list.

Read More
SQLAuthority News - First Editorial - T-SQL Challenges Beginners

SQLAuthority News – First Editorial – T-SQL Challenges Beginners

October 14, 2009
Pinal Dave
SQL Puzzle

Welcome to the first editorial for T-SQL Challenges for Beginners, puzzles that make you use your brain cells instead of just reading articles online.

Read More
Execution Plan Result Window.

SQL SERVER – Interesting Observation – Execution Plan and Results of Aggregate Concatenation Queries

September 29, 2009
Pinal Dave
SQL Puzzle
SQL Index, SQL View

Reader Bob explains why aggregate concatenation results depend on expression location, using an ANSI point of view, and shares a similar example to run.

Read More
Index on View with Query Usage.

SQL SERVER – Interesting Observation – Index on Index View Used in Similar Query

September 24, 2009
Pinal Dave
SQL Puzzle
SQL Index, SQL Scripts, SQL White Papers

A query on the base table used an index it did not own. It was the index on index view of the same table, an interesting observation from an optimization project.

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

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