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 tag
Advanced Querying
Refine your search with one of the following additional tags (with number of items):
T-SQL
(168)
Monitoring
(4)
Analysis Services
(1)
SQL Server 6.5
(1)
SQL Server 7, 2000
(21)
Performance Tuning and Scaling
(4)
Backup and Recovery
(1)
Table Valued Parameters
(1)
Administering
(13)
SQL Server 2005
(4)
Basics
(1)
Test Data
(1)
Stored Procedures
(8)
SQL Puzzles
(3)
Configuring
(1)
Triangular Joins
(1)
Basic Querying
(7)
System Development Life Cycle
(3)
Data Warehousing
(1)
Triggers
(1)
Miscellaneous
(7)
SQL Server 2005 - TSQL
(2)
Database Design
(1)
T-SQL Aids
(1)
Performance Tuning
(7)
Visual Basic 6
(2)
Datetime Manipulation
(1)
UDF
(1)
Programming
(7)
Administration
(1)
DTS
(1)
User-Defined functions
(1)
Security
(5)
ADO
(1)
OpenXML
(1)
XML
(1)
Strategies
(5)
Advanced
(1)
Scripts
(1)
Search for
any
content tagged
Advanced Querying
Items 1 to 20 of 171
Next 20 >>
Everybody Reports to Somebody
One of the very common questions posted about T-SQL is how to traverse a hierarchy in a set based manner. New author Craig Hatley brings us his techniques for handling the common scenario of employees and managers.
Read more...
By
Craig Hatley
2007/06/04
|
Source:
SQLServerCentral.com
|
Category:
Advanced Querying
Rating:
|
Discuss
|
Briefcase
|
4,044 reads
Converting Hexadecimal String Values to Alpha (ASCII) Strings
In an interesting exercise in data conversion, Stephen Lasham brings us a nice article on basic manipulations.
Read more...
By
Stephen Lasham
2007/05/17
|
Source:
SQLServerCentral.com
|
Category:
Advanced Querying
Rating:
|
Discuss
|
Briefcase
|
7,430 reads
CASE function in SQL Server – part II
Part I of this series illustrated how to use simple case functions in queries. This installment discusses how to use case functions in different types of scenarios.
Read more...
By
Additional Articles
2007/04/12
|
Source:
Database Journal
|
Category:
Advanced Querying
Rating:
Rate this
|
Briefcase
|
7,602 reads
Gotcha! SQL Aggregate Functions and NULL
Working with NULL functions can be tricky in T-SQL and SQL Server 2000. If you add in aggregates, you need to be sure you understand what the behavior will be or you might report incorrect values to a user. Michael Coles has written a new article that talks about how NULL affects your results.
Read more...
By
Michael Coles
2008/04/04 (first posted: 2005/07/05)
|
Source:
SQLServerCentral.com
|
Category:
Advanced Querying
Rating:
|
Discuss
|
Briefcase
|
76,041 reads
Why Read-only Table Parameters is Not Enough
In this article I discuss a new feature in SQL 2008, table-valued parameters and particularly the restriction that they have to be read-only. I argue that this makes this feature considerably less useful that it could be, and that in order to build scalable applications be able to pass read-write table parameters between stored procedures is essential.
Read more...
By
Additional Articles
2008/04/02
|
Source:
Erland Sommarskog's SQL Page
|
Category:
Advanced Querying
Rating:
Rate this
|
Briefcase
|
1,151 reads
Four Rules for NULLs
In SQL Server 2000 or any relational database, the concept of NULL can be both confusing and hazardess to your employment. Not understanding how to work with NULLs can lead to incorrect responses to queries and poor business decisions being made. New author Michael Coles brings us four rules that can help you work with NULL values in your tables.
Read more...
By
Michael Coles
2008/03/28 (first posted: 2005/06/27)
|
Source:
SQLServerCentral.com
|
Category:
Advanced Querying
Rating:
|
Discuss
|
Briefcase
|
83,801 reads
The Truth Table
Truth tables are an important part of working with logical values in SQL Server. Yousef Ekhtiari brings us some T-SQL that can help you construct those many variable truth tables and ensure you are getting the results you expect.
Read more...
By
Yousef Ekhtiari
2007/04/19
|
Source:
SQLServerCentral.com
|
Category:
Advanced Querying
Rating:
|
Discuss
|
Briefcase
|
9,665 reads
Keyword Searching in SQL Server
Have you ever wanted to ensure that keywords in your data are easily searchable? Have you struggled with full-text search? New author Michael Ahmadi brings us an interesting idea for a keyword tracking and searching subsystem based on T-SQL and triggers.
Read more...
By
Michael Ahmadi
2007/04/09
|
Source:
SQLServerCentral.com
|
Category:
Miscellaneous
Rating:
|
Discuss
|
Briefcase
|
8,048 reads
Storing IPs in SQL Server
An IP address is something we all recognize and is a piece of data that is quite prevalent in many systems. However it is a piece of data tha presents some challenges in its storage and retrieval. SQL Server guru David Poole presents us with a look at how you can work with this strange formatting.
Read more...
By
David Poole
2007/04/02
|
Source:
SQLServerCentral.com
|
Category:
Advanced Querying
Rating:
|
Discuss
|
Briefcase
|
11,329 reads
The ARRAY In SQL Server 2000
SQL Server 2000 and Transact-SQL have many features, but one of the most often asked for features has been the implementation of some sort of array data type. This basic programming concept is notably absent from the development platform and results in many headaches and frustrations for DBAs. New author Alex Grinberg brings us his techniques for simulating arrays in SQL Server 2000.
Read more...
By
Alex Grinberg
2008/02/15 (first posted: 2005/05/16)
|
Source:
SQLServerCentral.com
|
Category:
Advanced Querying
Rating:
|
Discuss
|
Briefcase
|
130,732 reads
Generating Missing Dates and Numbers
Finding missing data in a sequence of numbers or dates is a common request of DBAs. Regular author Jacob Sebastian brings us a new article that shows just how you can do this.
Read more...
By
Jacob Sebastian
2008/02/06
|
Category:
Datetime Manipulation
Rating:
|
Discuss
|
Briefcase
|
5,701 reads
Tame Those Strings - Finding Carriage Returns
Expanding on his series of string manipulation in T-SQL, Steve Jones takes a look at how you go about removing those unseen characters from your strings.
Read more...
By
Steve Jones
2007/02/13
|
Source:
SQLServerCentral.com
|
Category:
Advanced Querying
Rating:
|
Discuss
|
Briefcase
|
10,522 reads
Solving the "Running Total" & "Ordinal Rank" Problems in SS 2k/2k5
There are many methods to do Running Totals and most are either slow to terribly slow or just unreliable. Here's the right way to do very high speed Running Totals.
Read more...
By
Jeff Moden
2008/01/31
|
Source:
SQLServerCentral.com
|
Category:
Advanced Querying
Rating:
|
Discuss
|
Briefcase
|
4,095 reads
NULL Versus NULL?
Dealing with NULL data is something that often confuses new SQL Server developers, but even experienced DBAs might not understand all the intricacies of NULL operations. In a follow up to his highly acclaimed Four Rules of Null article, Michael Coles brings us a few new tricks with NULLs.
Read more...
By
Michael Coles
2007/10/05 (first posted: 2007/02/26)
|
Source:
SQLServerCentral.com
|
Category:
Advanced Querying
Rating:
|
Discuss
|
Briefcase
|
32,564 reads
When To Use Cursors
Most SQL Server DBAs have been taught that cursors are bad and should not be used. However there are some cases and places where they might be useful. SQL Server guru Andy Warren brings us an example of where they may be handy.
Read more...
By
Andy Warren
2007/01/15
|
Source:
SQLServerCentral.com
|
Category:
Advanced Querying
Rating:
|
Discuss
|
Briefcase
|
14,146 reads
Performance Tuning: Concatenation Functions and Some Tuning Myths
Rumor has it that Concatenation functions have gotten the nasty reputation of being "performance hogs". Here's why that's not true.
Read more...
By
Jeff Moden
2008/01/01
|
Source:
SQLServerCentral.com
|
Category:
Test Data
Rating:
|
Discuss
|
Briefcase
|
7,324 reads
Creative Ways to Use the TOP Clause
Gregory Larsen discusses how to use the TOP clause to help solve requests where you want to restrict the number of records returned based on a record count.
Read more...
By
Additional Articles
2007/01/05
|
Source:
Database Journal
|
Category:
Advanced Querying
Rating:
Rate this
|
Briefcase
|
6,621 reads
Hidden RBAR: Triangular Joins
Just because it looks set based, doesn't mean it is. T-SQL Crackerjack Jeff Moden takes a look at a mistake that many query writers make.
Read more...
By
Jeff Moden
2007/12/06
|
Source:
SQLServerCentral.com
|
Category:
T-SQL
Rating:
|
Discuss
|
Briefcase
|
11,923 reads
Running totals in SQL Server queries
How often do you need to keep a total of all previous rows values when you run a query? This article shows you how you can achieve this.
Read more...
By
Additional Articles
2006/11/23
|
Source:
Builder.com
|
Category:
Advanced Querying
Rating:
Rate this
|
Briefcase
|
5,866 reads
NULL Versus NULL?
Dealing with NULL data is something that often confuses new SQL Server developers, but even experienced DBAs might not understand all the intricacies of NULL operations. In a follow up to his highly acclaimed Four Rules of Null article, Michael Coles brings us a few new tricks with NULLs.
Read more...
By
Michael Coles
2007/10/05 (first posted: 2007/02/26)
|
Source:
SQLServerCentral.com
|
Category:
Advanced Querying
Rating:
|
Discuss
|
Briefcase
|
32,564 reads
Items 1 to 20 of 171
Next 20 >>
Most popular
Hidden RBAR: Triangular Joins
Just because it looks set based, doesn't mean it is. T-SQL Crackerjack Jeff Moden takes a look at a mistake that many query writers make.
Read more...
By
Jeff Moden
2007/12/06
|
Source:
SQLServerCentral.com
|
Category:
T-SQL
Rating:
|
Discuss
|
Briefcase
|
11,923 reads
NULL Versus NULL?
Dealing with NULL data is something that often confuses new SQL Server developers, but even experienced DBAs might not understand all the intricacies of NULL operations. In a follow up to his highly acclaimed Four Rules of Null article, Michael Coles brings us a few new tricks with NULLs.
Read more...
By
Michael Coles
2007/10/05 (first posted: 2007/02/26)
|
Source:
SQLServerCentral.com
|
Category:
Advanced Querying
Rating:
|
Discuss
|
Briefcase
|
32,564 reads
Performance Tuning: Concatenation Functions and Some Tuning Myths
Rumor has it that Concatenation functions have gotten the nasty reputation of being "performance hogs". Here's why that's not true.
Read more...
By
Jeff Moden
2008/01/01
|
Source:
SQLServerCentral.com
|
Category:
Test Data
Rating:
|
Discuss
|
Briefcase
|
7,324 reads
Copyright © 2002-2008 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use