Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Obtaining result set form SP using cursors
Message
De
27/06/2002 16:39:45
 
 
À
25/06/2002 08:36:22
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Divers
Thread ID:
00671813
Message ID:
00673078
Vues:
20
>>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

This sounds interesting. What is a table variable? I'm using SQL 7 so how would I get this done using this approach?

Thanks for the help...
Mike
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform