Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Obtaining result set form SP using cursors
Message
De
25/06/2002 08:36:22
 
 
À
24/06/2002 17:54:41
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Divers
Thread ID:
00671813
Message ID:
00671957
Vues:
27
>Actually, your are right. What I meant to say was after opening a cursor I want to issue a "FETCH ABSOLUTE intPos" to go to a specific record then return the next 100 entries form that cursor, rather than return the whole cursor and have ASP process it.

This sounds like "paging". I use a table variable (SQL Server 2000) with an IDENTITY column to create the row number. Then a simple BETWEEN get the section of rows that are of interest. I was surprised as the speed that SQL Server can handle this.

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform