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

Choose a tag below, or browse popular content:

Administering     Maintenance and Management     Security     Strategies    
Administration     Miscellaneous     SQL Server 2005     T-SQL    
Editorial     Other     SQL Server 7, 2000     T-SQL Aids    
Editorial - WMV     Programming     SQLInsider Scripts    
Popular Content

Five Free Hours of Training

We're sponsoring over 5 hours over 5 days of training on SSIS and Business Intelligence with Brian Knight, SQL Server MVP and founder of Pragmatic Works.   Read more...
By Press Release 2008/07/14 (first posted: 2008/07/01) | Source: SQLServerCentral.com | Category: Training
Rating: |  Discuss |  Briefcase | 15,909 reads

The "Numbers" or "Tally" Table: What it is and how it replaces a loop.

Many people have used a "Numbers" or "Tally" table without really knowing what it does. This is an introduction as to how a Tally table replaces a loop.  Read more...
By Jeff Moden 2008/05/07 | Source: SQLServerCentral.com | Category: TSQL
Rating: |  Discuss |  Briefcase | 16,455 reads

The Differences Between SQL Server 2000 and 2005

What are the differences between SQL Server 2000 and 2005? It's a question that DBAs are often asked by those who don't work with SQL Server on a daily basis. Steve Jones begins a short series on the differences by examining some of the core administrative differences.   Read more...
By Steve Jones 2007/08/31 (first posted: 2007/05/15) | Source: SQLServerCentral.com | Category: Administration
Rating: |  Discuss |  Briefcase | 78,411 reads

Cross Tabs and Pivots, Part 1 – Converting Rows to Columns

An "old" subject is revisted where "newbies" can learn the methods and veteran users can get more performance out of the code.  Read more...
By Jeff Moden 2008/08/19 | Source: SQLServerCentral.com | Category: T-SQL
Rating: |  Discuss |  Briefcase | 11,104 reads

Just For Fun: An Impossible Delete

How can you delete only some duplicates? Without Identity's, Temp tables, Cursors, loops or ROW_NUMBER()? Would you believe, go back to the 70's?  Read more...
By RBarryYoung 2008/08/05 | Source: SQLServerCentral.com | Category: T-SQL
Rating: |  Discuss |  Briefcase | 13,813 reads

SQL Server 2005 Build List

Build List Updated with Cumulative Update 9 for SP2.   Read more...
By Steve Jones 2008/08/22 (first posted: 2007/04/23) | Source: SQLServerCentral.com | Category: Administration
Rating: |  Discuss |  Briefcase | 54,825 reads

TSQL LAB 2 - Writing Conditional WHERE Clauses

Jacob Sebastian takes a look at some different ways to write your WHERE clauses. A good basic article for those starting to work with T-SQL.  Read more...
By Jacob Sebastian 2008/08/29 (first posted: 2008/02/27) | Source: SQLServerCentral.com | Category: T-SQL
Rating: |  Discuss |  Briefcase | 28,247 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 2008/08/15 (first posted: 2007/12/06) | Source: SQLServerCentral.com | Category: T-SQL
Rating: |  Discuss |  Briefcase | 23,995 reads

Excel with Stored Procedures

Longtime DBA David Poole brings us an interesting situation in involving setting up a user to allow Excel to query data from SQL Server.  Read more...
By David Poole 2008/08/13 | Source: SQLServerCentral.com | Category: Stored Procedures
Rating: |  Discuss |  Briefcase | 12,895 reads

Passing Parameters as (almost) 1, 2, and 3 Dimensional Arrays

It's a well known fact that there's no such thing as a true "array" in SQL Server and that you can't pass a table as a parameter... but you can get a lot closer than you think.  Read more...
By Jeff Moden 2008/05/22 | Source: SQLServerCentral.com | Category: T-SQL
Rating: |  Discuss |  Briefcase | 10,065 reads

Linking to the Previous Row

One common problem in querying is to reference the previous row in a data set as part of a calculation. David McKinney brings us an interesting solution using SQL Server 2005.  Read more...
By David McKinney 2008/03/13 | Source: SQLServerCentral.com | Category: T-SQL
Rating: |  Discuss |  Briefcase | 14,596 reads

Passing a Table to A Stored Procedure

In the first article of a new series on T-SQL tips, Jacob Sebastian brings us a very useful technique. How to pass a table to a stored procedure so some set of rows can be operated on using some business logic.   Read more...
By Jacob Sebastian 2007/12/07 (first posted: 2007/05/30) | Source: SQLServerCentral.com | Category: Stored Procedures
Rating: |  Discuss |  Briefcase | 49,743 reads

A Story of the Deleted Transaction Log

How a transaction log was deleted and then recreated.  Read more...
By James DiMauro 2008/07/14 | Source: SQLServerCentral.com | Category: Disaster Recovery
Rating: |  Discuss |  Briefcase | 9,599 reads

Return Query Text Along With sp_who2 Using Dynamic Management Views

This article describes how to generate the sp_who2 results including the query text for the spid.  Read more...
By Ken Simmons 2008/06/26 | Source: SQLServerCentral.com | Category: Administration
Rating: |  Discuss |  Briefcase | 9,349 reads

Free Tools for the SQL Server DBA

Everyone has a set of handy utilities and tools that they use with their SQL Server, but sometimes convincing an employer to purchase tools is hard. Longtime DBA David Bird brings us a list of the tools he likes to use and are FREE.   Read more...
By David Bird 2007/05/24 | Source: SQLServerCentral.com | Category: Miscellaneous
Rating: |  Discuss |  Briefcase | 45,532 reads

Two Useful Hierarchy Functions

Two useful functions for dealing with hierarchical data.  Read more...
By John Cawley III 2008/05/21 | Source: SQLServerCentral.com | Category: Hierarchy
Rating: |  Discuss |  Briefcase | 10,673 reads

Correlated Joins Using "Apply"

Discusses the use of the newly introduced APPLY Statement in SQL Server 2005  Read more...
By Gregory Jackson 2008/06/16 | Source: SQLServerCentral.com | Category: T-SQL
Rating: |  Discuss |  Briefcase | 10,997 reads

Sync All Logins on a Server in a single click using SP_MSForEachDB

Reduce your recovery time and minimize the chance for error by resolving all logins in one script.  Read more...
By Ken Simmons 2008/06/03 | Source: SQLServerCentral.com | Category: Log Shipping
Rating: |  Discuss |  Briefcase | 9,146 reads

The Myth of Over-Normalization

Too often, denormalization is suggested as the first thing to consider when tackling query performance problems. It is said to be a necessary compromise to be made when a rigorous logical design hits an inadequate database system. As the saying goes, “Normalize ‘til it hurts, then denormalize ‘til it works”. In reality, Denormalization always leads eventually to tears.  Read more...
By Additional Articles 2008/07/28 | Source: SimpleTalk | Category: Database Design
Rating:  Rate this |  Briefcase | 6,899 reads

Upgrading a Database SQL 2000 to SQL 2005

Performing an upgrade to the next version of SQL Server is something more and more of us will be doing as the support for SQL Server 2000 wanes. New author Sachin Samuel brings us an overview of the process and options that you have for performing an upgrade.   Read more...
By Sachin Samuel 2007/05/16 | Source: SQLServerCentral.com | Category: Administration
Rating: |  Discuss |  Briefcase | 38,034 reads