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 - Query Hint - Contest Win Joes 2 Pros Combo (USD 198) - Day 1 of 5

SQL SERVER – Query Hint – Contest Win Joes 2 Pros Combo (USD 198) – Day 1 of 5

August 6, 2012
Pinal Dave
SQL Puzzle
Joes 2 Pros

Day 1 of our contest: answer a question about the query hint and you could win the Joes 2 Pros 5 book kit worth USD 198. Open to USA and India.

Read More
SQL SERVER - Monday Morning Puzzle - Query Returns Results Sometimes but Not Always

SQL SERVER – Monday Morning Puzzle – Query Returns Results Sometimes but Not Always

July 9, 2012
Pinal Dave
SQL Puzzle

A beginner asked why a query returns results sometimes but not always. I share where I would start looking and invite you to add your own answer.

Read More
CREATE TABLE in SQL Server.

SQL SERVER – Identifying Column Data Type of uniqueidentifier without Querying System Tables

June 18, 2012
Pinal Dave
SQL Puzzle
SQL Server Management Studio

Madhivanan asked how to tell if a table has a uniqueidentifier column without querying system tables or DMVs, knowing only the table name.

Read More
SOUNDEX Function results with SQL Authority.

SQL SERVER – Simple Explanation and Puzzle with SOUNDEX Function and DIFFERENCE Function

June 16, 2012
Pinal Dave
SQL Puzzle

A reader’s swap puzzle solution used SOUNDEX, so many asked how it works. I explain the SOUNDEX function and DIFFERENCE function with simple examples.

Read More
SQL SERVER - Solution of Puzzle - Swap Value of Column Without Case Statement

SQL SERVER – Solution of Puzzle – Swap Value of Column Without Case Statement

June 14, 2012
Pinal Dave
SQL Puzzle
SQL Function, SQL Scripts

Readers sent more than 50 answers to my swap puzzle. Here are 5 different ones that swap a column value without CASE statement, plus my own three.

Read More
SQL SERVER - A Puzzle - Swap Value of Column Without Case Statement

SQL SERVER – A Puzzle – Swap Value of Column Without Case Statement

June 8, 2012
Pinal Dave
SQL Puzzle

An interview puzzle: write one UPDATE that flips male to female and female to male. Can you swap value of column data without a CASE statement?

Read More
Sequence values displayed in SQL Server Management Studio.

SQL SERVER – A Puzzle Part 4 – Fun with SEQUENCE in SQL Server 2012 – Guess the Next Value

June 2, 2012
Pinal Dave
SQL Puzzle

Part 4 of my SEQUENCE puzzles uses a DECIMAL sequence that counts down by 1 and cycles. Can you guess the next value SQL Server 2012 returns?

Read More
Previous 1 … 7 8 9 10 11 12 13 … 24 Next
  • Books
  • Testimonials
  • Privacy Policy

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