Log in
::
Register
::
Not logged in
Search:
Home
Articles
Editorials
Forums
Scripts
Blogs
QotD
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Advertise
Write for us
Articles with tags
T-SQL
,
SQL Puzzles
Refine your search with one of the following additional tags (with number of items):
Advanced Querying
(3)
Administering
(1)
Performance Tuning
(1)
Stored Procedures
(1)
Miscellaneous
(3)
ADO
(1)
Security
(1)
Strategies
(1)
Programming
(3)
Basic Querying
(1)
SQL Server 7, 2000
(1)
Search for
any
content tagged
T-SQL & SQL Puzzles
Items 1 to 20 of 38
Next 20 >>
Eliminating Cursors
T-SQL does some things wonderfully, but cursors are the bane of the language, often causing performance issues. Changing your queries around to remove cursors can be tricky and new author Kamran Ali brings us one technique he has used to dramatically improve performance.
Read more...
By
Kamran Ali
2008/06/13 (first posted: 2006/01/17)
|
Source:
SQLServerCentral.com
|
Category:
SQL Puzzles
Rating:
|
Discuss
|
Briefcase
|
48,179 reads
The T-SQL Quiz
Longtime SQL Server DBA and author Grant Fritchey decided to quiz his developers on how to perform some simple functions in T-SQL. Read about his results and see how you might do in taking his quiz.
Read more...
By
Grant Fritchey
2007/05/28
|
Source:
SQLServerCentral.com
|
Category:
SQL Puzzles
Rating:
|
Discuss
|
Briefcase
|
15,113 reads
Full Control Over a Randomly Generated Password
All of us need a steady stream of random passwords for the various systems we manage. Peter Larsson brings us an interesting T-SQL solution that generates one for us.
Read more...
By
Peter Larsson
2007/04/25
|
Source:
SQLServerCentral.com
|
Category:
SQL Puzzles
Rating:
|
Discuss
|
Briefcase
|
6,390 reads
Finding Primes
While it's not likely that many of you need to find prime numbers using T-SQL, it is an interesting programming exercise. SQL Server guru Kathi Kellenburger brings us one solution after taking a break over the holidays and reading some popular fiction.
Read more...
By
Kathi Kellenberger
2007/01/29
|
Source:
SQLServerCentral.com
|
Category:
SQL Puzzles
Rating:
|
Discuss
|
Briefcase
|
5,916 reads
Celko's 'Can't Be Your Own Supervisor' SQL Puzzle
A SQL puzzle from the SQL guru.
Read more...
By
Additional Articles
2007/09/14
|
Source:
Intelligent Enterprise
|
Category:
SQL Puzzles
Rating:
Rate this
|
Briefcase
|
2,363 reads
A Raffle Puzzle
An interesting puzzle from the Orlando SQL Server Users Group
Read more...
By
Additional Articles
2007/08/13
|
Source:
End to End Training
|
Category:
SQL Puzzles
Rating:
Rate this
|
Briefcase
|
1,193 reads
The GO Command and the Semicolon Terminator
There are probably not many SQL Server DBAs that use the semicolon as a statement separator. In SQL Server 2005, this is required in certain places and new author Kenneth Powers brings us a look at where and why you need to use this syntax.
Read more...
By
Ken Powers
2007/06/15 (first posted: 2006/01/09)
|
Source:
SQLServerCentral.com
|
Category:
SQL Puzzles
Rating:
|
Discuss
|
Briefcase
|
32,305 reads
The T-SQL Quiz
Longtime SQL Server DBA and author Grant Fritchey decided to quiz his developers on how to perform some simple functions in T-SQL. Read about his results and see how you might do in taking his quiz.
Read more...
By
Grant Fritchey
2007/05/28
|
Source:
SQLServerCentral.com
|
Category:
SQL Puzzles
Rating:
|
Discuss
|
Briefcase
|
15,113 reads
SQLChess - A tutorial on thinking in sets
Chess makes a fantastic game for programming examples. You will find hundreds of examples on the internet. Some dedicated to OO patterns, others to algorithms and so forth. Unfortunately, most of these examples do not use a database or if they do, treat the database as nothing more than a storage repository. In this series of articles we will use SQL Server and T-SQL to implement the game of chess with an emphasis on thinking in sets.
Read more...
By
Additional Articles
2007/05/21
|
Source:
SQLTeam.com
|
Category:
Advanced Querying
Rating:
Rate this
|
Briefcase
|
3,632 reads
Full Control Over a Randomly Generated Password
All of us need a steady stream of random passwords for the various systems we manage. Peter Larsson brings us an interesting T-SQL solution that generates one for us.
Read more...
By
Peter Larsson
2007/04/25
|
Source:
SQLServerCentral.com
|
Category:
SQL Puzzles
Rating:
|
Discuss
|
Briefcase
|
6,390 reads
Creating cross tab queries and pivot tables in SQL
For those times when you absolutely, positively got to perform a cross tab query in SQL, Keith Fletcher's T-SQL stored procedure will allow you to do it "on the fly". You can add it to your database and start cross tabbing immediately, without any further setup or changes to you SQL code. Check it out, and then take the cross tab challenge.
Read more...
By
Additional Articles
2007/04/11
|
Source:
SimpleTalk
|
Category:
SQL Puzzles
Rating:
Rate this
|
Briefcase
|
3,688 reads
Finding Primes
While it's not likely that many of you need to find prime numbers using T-SQL, it is an interesting programming exercise. SQL Server guru Kathi Kellenburger brings us one solution after taking a break over the holidays and reading some popular fiction.
Read more...
By
Kathi Kellenberger
2007/01/29
|
Source:
SQLServerCentral.com
|
Category:
SQL Puzzles
Rating:
|
Discuss
|
Briefcase
|
5,916 reads
Eliminating Cursors
T-SQL does some things wonderfully, but cursors are the bane of the language, often causing performance issues. Changing your queries around to remove cursors can be tricky and new author Kamran Ali brings us one technique he has used to dramatically improve performance.
Read more...
By
Kamran Ali
2008/06/13 (first posted: 2006/01/17)
|
Source:
SQLServerCentral.com
|
Category:
SQL Puzzles
Rating:
|
Discuss
|
Briefcase
|
48,179 reads
SQL 2000 DBA Toolkit Part 4
In the final installment of his series, Michael Coles examines a few other functions in his SQL Server 2000 toolkit to help you with other functions, like reading a directory on your server. Read the series and send some feedback to make this THE premier toolset for SQL Server 2000 DBAs.
Read more...
By
Michael Coles
2006/05/04
|
Source:
SQLServerCentral.com
|
Category:
Administering
Rating:
|
Discuss
|
Briefcase
|
12,395 reads
SQL 2000 DBA Toolkit Part 3
Phonetic matching, working on finding terms that are misspelled, is an art and there are a number of ways to handle it. In SQL Server 2000 the tools are limited, but Michael Coles brings us part 3 of his toolkit with some handy functions that can help you with text searching.
Read more...
By
Michael Coles
2006/04/27
|
Source:
SQLServerCentral.com
|
Category:
SQL Puzzles
Rating:
|
Discuss
|
Briefcase
|
13,686 reads
Triggers to Execute in Pre Defined Order
SQL Server allows multiple triggers on a table, but the order in which they are executed can sometimes cause problems. Author Dinesh Asanka brings us a technique for managing the order of execution for your triggers.
Read more...
By
Dinesh Asanka
2006/04/06
|
Source:
SQLServerCentral.com
|
Category:
SQL Puzzles
Rating:
|
Discuss
|
Briefcase
|
9,373 reads
Finding Gaps in a Sequential Number Sequence
Do you use identity values? Do missing values ever cause problems? Maybe you need to look for missing invoices? Stephen Lasham brings us a technique for finding those missing values in a sequence.
Read more...
By
Stephen Lasham
2006/04/03
|
Source:
SQLServerCentral.com
|
Category:
SQL Puzzles
Rating:
|
Discuss
|
Briefcase
|
10,306 reads
The Dodgy GO Statement
Do you really understand what happens when you create a stored procedure? What if you have some extra code in your batch? This is an interesting article that shows an interesting effect of creating a stored procedure and where your GO statement is placed.
Read more...
By
Subramanyam Krishnamurthy
2006/02/21
|
Source:
SQLServerCentral.com
|
Category:
SQL Puzzles
Rating:
|
Discuss
|
Briefcase
|
10,721 reads
Practical Uses of PatIndex
String manipulation is not one of the strong points of T-SQL, but there are some functions that can greatly assist you with searching and working with character values. New author Robert Davis brings us a look at PATINDEX, one of the search functions and also explains the differences between it and the often used CHARINDEX.
Read more...
By
Robert Davis
2006/02/06
|
Source:
SQLServerCentral.com
|
Category:
SQL Puzzles
Rating:
|
Discuss
|
Briefcase
|
12,974 reads
Eliminating Cursors
T-SQL does some things wonderfully, but cursors are the bane of the language, often causing performance issues. Changing your queries around to remove cursors can be tricky and new author Kamran Ali brings us one technique he has used to dramatically improve performance.
Read more...
By
Kamran Ali
2008/06/13 (first posted: 2006/01/17)
|
Source:
SQLServerCentral.com
|
Category:
SQL Puzzles
Rating:
|
Discuss
|
Briefcase
|
48,179 reads
Items 1 to 20 of 38
Next 20 >>
Most popular
The T-SQL Quiz
Longtime SQL Server DBA and author Grant Fritchey decided to quiz his developers on how to perform some simple functions in T-SQL. Read about his results and see how you might do in taking his quiz.
Read more...
By
Grant Fritchey
2007/05/28
|
Source:
SQLServerCentral.com
|
Category:
SQL Puzzles
Rating:
|
Discuss
|
Briefcase
|
15,113 reads
Full Control Over a Randomly Generated Password
All of us need a steady stream of random passwords for the various systems we manage. Peter Larsson brings us an interesting T-SQL solution that generates one for us.
Read more...
By
Peter Larsson
2007/04/25
|
Source:
SQLServerCentral.com
|
Category:
SQL Puzzles
Rating:
|
Discuss
|
Briefcase
|
6,390 reads
Eliminating Cursors
T-SQL does some things wonderfully, but cursors are the bane of the language, often causing performance issues. Changing your queries around to remove cursors can be tricky and new author Kamran Ali brings us one technique he has used to dramatically improve performance.
Read more...
By
Kamran Ali
2008/06/13 (first posted: 2006/01/17)
|
Source:
SQLServerCentral.com
|
Category:
SQL Puzzles
Rating:
|
Discuss
|
Briefcase
|
48,179 reads
Copyright © 2002-2008 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use