SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
Search:  
 
 

Content with tag cursors Rss

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

T-SQL (4)     Blocking (1)     Fetch (1)     SPID (1)    
Performance Tuning (2)     Data Generation (1)     Loop (1)     Test Data (1)    
While Loop (2)     Execution Plan (1)     Random Numbers (1)    
   Items 1 to 8 of 8   
 

There Must Be 15 Ways To Lose Your Cursors… Part 2

Learn to use Where, Claire. Plus a conversion methodology, a test harness and more!  Read more...
By RBarry Young 2009/04/27 | Source: SQLServerCentral.com | Category: T-SQL
Rating: |  Discuss |  Briefcase | 11,768 reads

There Must Be 15 Ways To Lose Your Cursors... part 1, Introduction

Learn how to leave those Cursors and loops in the thrash, Nash... An article from longtime contributor and SQL expert, Barry Young.  Read more...
By RBarry Young 2009/04/14 | Source: SQLServerCentral.com | Category: T-SQL
Rating: |  Discuss |  Briefcase | 13,847 reads

Avoiding cursors with SQL Server 2005

Sometimes cursors are necessary when executing queries in SQL Server, but most of the time they can be avoided entirely. This article shows where cursors can traditionally be used, and how you can use features packaged in SQL Server 2005 to avoid them.  Read more...
By Additional Articles 2009/03/19 | Source: Builder.com | Category: cursors
Rating:  Rate this |  Briefcase | 5,000 reads

Cursors for T-SQL Beginners

Should we really avoid cursors? See how to rewrite code to avoid cursors and also analyze the implications.   Read more...
By Wagner Crivelini 2009/01/01 | Source: SQLServerCentral.com | Category: cursors
Rating: |  Discuss |  Briefcase | 11,359 reads

Cursors Be Gone!

A short tutorial on converting cursors to more conventional loops.  Read more...
By Gaby Abed 2008/12/24 | Source: SQLServerCentral.com | Category: cursors
Rating: |  Discuss |  Briefcase | 15,252 reads

SQL Server Cursor Examples

In my T-SQL code I always use set based operations. I have been told these types of operations are what SQL Server is designed to process and it should be quicker than serial processing. I know cursors exist but I am not sure how to use them. Can you provide some cursor examples?   Read more...
By Additional Articles 2008/10/21 | Source: MSSQLTips.com | Category: T-SQL
Rating: (not yet rated)  Rate this |  Briefcase | 4,294 reads

Create Sample Data Script

in this scripts there are two methods of creating sample data for a gambling application. i have used both cursors and loops.  Read more...
By Chris Morton | Source: SQLServerCentral.com | Category: cursors
Rating: |  Discuss |  Briefcase | 121 reads

DB Connection Killer

This script opens a little cursor that will clean out connections to any DBs you specify.  Read more...
By Miguel Pereira-543757 2008/09/09 | Source: SQLServerCentral.com | Category: cursors
Rating: |  Discuss |  Briefcase | 1,088 reads
   Items 1 to 8 of 8