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

Articles 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)    

Search for any content tagged SQL Server 2005 - TSQL

   Items 1 to 20 of 29    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,265 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 | 54,956 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,869 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,937 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,444 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,955 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,011 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,641 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,265 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,723 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,447 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,869 reads

Write PIVOT queries in SQL Server 2005

New to SQL Server 2005 is the PIVOT operator, which gives you the ability to rotate row level data into tabular data without the use of the CASE statement, as was necessary in previous versions of SQL Server.  Read more...
By Additional Articles 2007/01/11 | Source: Builder.com | Category: Advanced Querying
Rating:  Rate this |  Briefcase | 4,143 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,937 reads

Joining Tables Part 1

In this video for beginners you'll begin to learn how to write queries that use more than one table using T-SQL. Kathi walks you through common tactics to efficiently pull out data from a normalized system.   Read more...
By Kathi Kellenberger 2006/12/11 | Source: JumpStartTV | Category: SQL Server 2005 - TSQL
Rating:  Rate this |  Briefcase | 626 reads

TOP in SQL Server 2005

There are so many new features in SQL Server 2005 that there's one that can make a significant impact in solving many different types of problems. Andy Warren takes a look at one of the features that has been enhanced and is extremely useful, albeit quirky: TOP.   Read more...
By Andy Warren 2006/10/05 | Source: SQLServerCentral.com | Category: SQL Server 2005 - TSQL
Rating: |  Discuss |  Briefcase | 12,621 reads

Invoke UDFs that accept tables with SQL Server 2005's APPLY operator

Tim Chapman discusses using table valued functions with the APPLY function.  Read more...
By Additional Articles 2006/10/04 | Source: Builder.com | Category: SQL Server 2005 - TSQL
Rating:  Rate this |  Briefcase | 1,833 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 | 54,956 reads

Speak Like a T-SQL Developer

In this video by Kathi Kellenberger, she starts beginners interested in T-SQL programming the teminology and some of the basiics of T-SQL. She also covers the what the various editions of SQL Server mean and the tools that you will use.   Read more...
By Additional Articles 2006/09/12 | Source: Other | Category: SQL Server 2005 - TSQL
Rating:  Rate this |  Briefcase | 2,640 reads

SQL Server 2005 Common Table Expressions

A CTE is a "temporary result set" that exists only within the scope of a single SQL statement. It allows access to functionality within that single SQL statement that was previously only available through use of functions, temp tables, cursors, and so on.   Read more...
By Additional Articles 2006/09/07 | Source: Red-Gate | Category: SQL Server 2005 - TSQL
Rating:  Rate this |  Briefcase | 2,204 reads
   Items 1 to 20 of 29    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,265 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 | 54,956 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,937 reads