January 18, 2010 [Volume 2, Issue 2]
Here is a challenge that takes you away from those repetitive boring type of queries that you write over and over again, several times a day. All of us, the database people, are familiar with thinking in set based manner as well as row by row style. Here is something that is very interesting where you might need to process records in a 'three-line-at-a-time' fashion.
For the purpose of this challenge, imagine that you are working for a bank which just decided to scan all the banking documents. Assume that they have an old fashioned scanner which scans the documents and produces a text file with the customer number. So far so good. Well, not really! Unfortunately the scanner produces a graphical representation of the customer number using three lines of symbols: space, unerscores and pipe characters.
Read More »
Some of you might have already noticed that there is a new XML section at beyondrelational.com. The goal of this section is to bring enough XML resources to you, which will help you to get started (if you are new to XML) or master (if you are already familiar with XML) the XML features supported by SQL Server.
We have setup this section by compiling some of the XML resources from beyondrelational.com and are working on including helpful XML resources available at other locations too. Contact us with your suggestions and recommendations for including resources that you think are helpful.
Read More »
Editorial - Improving TSQL Challenges!
Working on the TSQL Challenges is always a learning experience. Every day we learn something new, something that we need to improve and something that we are badly missing. We would like to thank all of you for your continous support, feedback and suggestions that keep us busy improving the way TSQL Challenges are created, managed and evaluated.
There are a few interesting changes we are bringing into TSQL Challenges. First of all, we will be allowing multi-statement solutions for certain challenges. I think this was one of the most frequently requested change by many of you.
We also started making the challenges available for an 'Early Review' to selected participants. The Early Review takes place before the challenges are published. The challenge description and rules are updated based on the recommendations of the team to make them more comprehensible and clarify any confusing remarks.
In addition, from next challenge onwards there will be a Moderator who will assist you with your questions and comments, a FAQ section compiled by the Early Review Team and physical tables instead of table variables to store the input data.
We still have a long list of stuff to do and there are several areas that still need improvement. I look forward to hear yours suggestions to make TSQL Challenges better.
Cheers! Jacob Sebastian, Editor.
|
|
advertisement
SQL Backup tip of the week
“Periodically test backups to ensure that they are good and can be restored.” Brad McGehee, director of DBA education, Red Gate Software. How to also speed up and strengthen those backups? Use Red Gate SQL Backup Pro. Download a free trial.
I happened to read a very interesting collection of TSQL Best Practices and Bad Practices. A must read for all SQL Server developers.
Read More »
For those of you want to learn the basics of storage, there is an excellent series of articles by Brent Ozar. One of the best explanations of the storage basics I have ever seen.
Read More »
For those of you interested in SQL Azure and would like to start using it commercially, here is the happy news. SQL Azure team announced two weeks back that the product is available for commercial use and have posted links to various resources that you can use to upgrade a CTP evaluation account to commercial.
Read More »
A very informative TSQL Post by Syed which explains a very interesting usage of the CROSS APPLY operator. Syed explains how to use CROSS APPLY to write much more readable and manageable code.
Read More »
A very interesting story by Brad Schulz where he tells the story of three TSQL programmers who are on a mission to save a fair maiden who is kept prisoner in a forest by a troll.
Read More »
|