Database Journal
MS SQL Oracle DB2 Access MySQL PostgreSQL Sybase PHP SQL Etc SQL Scripts & Samples Links Database Forum

» Database Journal Home
» Database Articles
» Database Tutorials
MS SQL
Oracle
DB2
MS Access
MySQL
» RESOURCES
Database Tools
SQL Scripts & Samples
Links
» Database Forum
» Sitemap
Free Newsletters:
DatabaseDaily  
News Via RSS Feed


follow us on Twitter
Database Journal |DBA Support |SQLCourse |SQLCourse2
 

Featured Database Articles

MS SQL

Posted Aug 24, 1999

The Adventures of SQL Sam, SQL Detective!

By Steve Hontz

About SQL Sam...

When I was a boy, I enjoyed reading the Encyclopedia Brown, Boy Detective series by Donald J. Sobol. Encyclopedia Brown was a kid my age who had read the entire encyclopedia, and, using his knowledge and powers of observation, solved neighborhood mysteries that no one else could solve.

Being a wanna-be writer at heart, and having a love of solving SQL Server problems, I decided to combine some of my real-life SQL Server experiences with the fictional character of SQL Sam, SQL Detective. Each case presented here is based on actual events, with the names and details changed to protect the, ummm, less-enlightened. (And, by the way, the examples shown here have been simplified for presentation and don't necessarily represent runnable code. In other words, don't try this at home...)

Enough details are presented in each case so you can try to solve the mystery yourself. If you'd like some more hints, click on the Turn On Clues link at the top of the page. The solution then shows how SQL Sam solved the mystery.

If you're curious about the story behind the stories, and want to know the secret "jokes" I planted in each story, go to Behind the SQL: The Making of SQL Sam.

And now, without further ado, I present...

The SQL Sam Case Files


Steve Hontz is President of The Bit Corner, Inc., a Phoenix-based consulting firm specializing in Windows NT, C++, and SQL Server development. You can reach him at steve@bitcorner.com.



MS SQL Archives

Comment and Contribute

 


(Maximum characters: 1200). You have characters left.

 

 




Latest Forum Threads
MS SQL Forum
Topic By Replies Updated
SQL 2005: SSIS: Error using SQL Server credentials poverty 3 August 17th, 07:43 AM
Need help changing table contents nkawtg 1 August 17th, 03:02 AM
SQL Server Memory confifuration bhosalenarayan 2 August 14th, 05:33 AM
SQL Server Primary Key and a Unique Key katty.jonh 2 July 25th, 10:36 AM