SQL Server Central is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
Search:  
 
 

Content with tag SQL Server 2005 - TSQL Rss

Refine your search with one of the following additional tags (with number of items):

SQL Server 2005 (29)     Miscellaneous (1)    
Advanced Querying (2)     Strategies (1)    
T-SQL (2)    
   Items 1 to 20 of 58    Next 20 >>
 

The OUPUT Command

SQL Server 2005 has added many new T-SQL commands, one of which is the OUTPUT command. Longtime SQL Server author Dinesh Asanka brings us a short look at how you can use this command.   Read more...
By Dinesh Asanka 2007/07/09 | Source: SQLServerCentral.com | Category: SQL Server 2005 - TSQL
Rating: |  Discuss |  Briefcase | 13,258 reads

Recursive Queries in SQL:1999 and SQL Server 2005

How many of you have written resursive queries in SQL? Or any language since school for that matter? Not many people write recusrive queries because of the complexity, the difficulty to understand how they work, and the chance for heap overflows. However, SQL Server 2005 implements Common Table Expressions and recursion in a way that is much easier to code and incorporates some safeguards. New author SQL Server MVP Frederic Brouard has written a fantastic article looking at resursive queries.   Read more...
By Frédéric BROUARD 2008/05/16 (first posted: 2005/04/25) | Source: SQLServerCentral.com | Category: SQL Server 2005 - TSQL
Rating: |  Discuss |  Briefcase | 50,237 reads

Server Side Paging using SQL Server 2005

A common activity in applications is to page results or record sets from a database. This is usually done on the client using the client's paging functionality or on the server through a variety of methods. In SQL Server 2000 those server side methods typically used dynamic SQL or nested TOP clauses and weren't very efficient. Using Common Table Expressions in SQL Server 2005 we have a better way to page record sets on the server.  Read more...
By Additional Articles 2007/01/25 | Source: SQLTeam.com | Category: SQL Server 2005 - TSQL
Rating:  Rate this |  Briefcase | 3,865 reads

Usages of CONTEXT_INFO

How many of you have ever used SET CONTEXT_INFO in your SQL Server applications? Chances are it is not something you have been exposed to, but new author Yousef Ekhtiari brings us an example of how this particular construct can be used in your application.   Read more...
By Yousef Ekhtiari 2006/12/21 | Source: SQLServerCentral.com | Category: SQL Server 2005 - TSQL
Rating: |  Discuss |  Briefcase | 6,933 reads

Partitioning - Part 2

Continuing on with a look at SQL Server 205 partitioning features, Andy Warren delves into archiving techniques.   Read more...
By Andy Warren 2007/10/08 | Source: SQLServerCentral.com | Category: Miscellaneous
Rating: |  Discuss |  Briefcase | 5,437 reads

Handling NULL values in SQL Server 2005

In the simplest terms, a NULL value represents an unknown value. It's unknown in the sense that the value is: missing from the system, may not be applicable in the current situation, or might be added later. NULL values are different than any other value and are sometimes hard to compare and handle.  Read more...
By Additional Articles 2007/09/20 | Source: Builder.com | Category: SQL Server 2005 - TSQL
Rating:  Rate this |  Briefcase | 2,950 reads

T-SQL error handling with Try…Catch blocks

T-SQL Try…Catch block for SQL Server exception handling has new, improved functions to handle errors when executing T-SQL code in SQL Server 2005.  Read more...
By Additional Articles 2007/08/01 | Source: SearchSQLServer | Category: SQL Server 2005 - TSQL
Rating:  Rate this |  Briefcase | 3,010 reads

Using BCP to export the contents of MAX datatypes to a file

Phil Factor presents a poetic stored procedure for storing any VARCHAR(MAX) to file.  Read more...
By Additional Articles 2007/07/23 | Source: SimpleTalk | Category: SQL Server 2005 - TSQL
Rating:  Rate this |  Briefcase | 1,639 reads

The OUPUT Command

SQL Server 2005 has added many new T-SQL commands, one of which is the OUTPUT command. Longtime SQL Server author Dinesh Asanka brings us a short look at how you can use this command.   Read more...
By Dinesh Asanka 2007/07/09 | Source: SQLServerCentral.com | Category: SQL Server 2005 - TSQL
Rating: |  Discuss |  Briefcase | 13,258 reads

Using OVER() with Aggregate Functions

One of new features in SQL 2005 that I haven't seen much talk about is that you can now add aggregate functions to any SELECT (even without a GROUP BY clause) by specifying an OVER() partition for each function. Unfortunately, it isn't especially powerful, and you can't do running totals with it, but it does help you make your code a little shorter and in many cases it might be just what you need.  Read more...
By Additional Articles 2007/06/20 | Source: SQLTeam.com | Category: SQL Server 2005 - TSQL
Rating:  Rate this |  Briefcase | 2,719 reads

The NEWSEQUENTIALID Function

The NEWSEQUENTIALID system function is an addition to SQL Server 2005. It seeks to bring together, what used to be, conflicting requirements in SQL Server 2000; namely identity-level insert performance and globally unique values.  Read more...
By Additional Articles 2007/04/10 | Source: Other | Category: SQL Server 2005 - TSQL
Rating:  Rate this |  Briefcase | 2,445 reads

What does the NULLIF function do?

By Steve Jones 2007/03/07 | Category: SQL Server 2005 - TSQL
Rating: (not yet rated) |  Discuss |  Briefcase | 1,520 reads

Server Side Paging using SQL Server 2005

A common activity in applications is to page results or record sets from a database. This is usually done on the client using the client's paging functionality or on the server through a variety of methods. In SQL Server 2000 those server side methods typically used dynamic SQL or nested TOP clauses and weren't very efficient. Using Common Table Expressions in SQL Server 2005 we have a better way to page record sets on the server.  Read more...
By Additional Articles 2007/01/25 | Source: SQLTeam.com | Category: SQL Server 2005 - TSQL
Rating:  Rate this |  Briefcase | 3,865 reads
   Items 1 to 20 of 58    Next 20 >>
 
Most popular

The OUPUT Command

SQL Server 2005 has added many new T-SQL commands, one of which is the OUTPUT command. Longtime SQL Server author Dinesh Asanka brings us a short look at how you can use this command.   Read more...
By Dinesh Asanka 2007/07/09 | Source: SQLServerCentral.com | Category: SQL Server 2005 - TSQL
Rating: |  Discuss |  Briefcase | 13,258 reads

Usages of CONTEXT_INFO

How many of you have ever used SET CONTEXT_INFO in your SQL Server applications? Chances are it is not something you have been exposed to, but new author Yousef Ekhtiari brings us an example of how this particular construct can be used in your application.   Read more...
By Yousef Ekhtiari 2006/12/21 | Source: SQLServerCentral.com | Category: SQL Server 2005 - TSQL
Rating: |  Discuss |  Briefcase | 6,933 reads

Recursive Queries in SQL:1999 and SQL Server 2005

How many of you have written resursive queries in SQL? Or any language since school for that matter? Not many people write recusrive queries because of the complexity, the difficulty to understand how they work, and the chance for heap overflows. However, SQL Server 2005 implements Common Table Expressions and recursion in a way that is much easier to code and incorporates some safeguards. New author SQL Server MVP Frederic Brouard has written a fantastic article looking at resursive queries.   Read more...
By Frédéric BROUARD 2008/05/16 (first posted: 2005/04/25) | Source: SQLServerCentral.com | Category: SQL Server 2005 - TSQL
Rating: |  Discuss |  Briefcase | 50,237 reads