Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Retrieving subsets of data using SQL Server cursors
Message
De
12/08/2003 19:52:02
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Retrieving subsets of data using SQL Server cursors
Divers
Thread ID:
00819654
Message ID:
00819654
Vues:
66
I need to retrieve data from large SQL tables into multiple under 2G dbf files. At one time I knew how to do this, but I've lost it. I know I used cursors in a script like
DEFINE MyCursor CURSOR FOR
SELECT * FROM BigOleSQLTable

OPEN MyCursor

FETCH NEXT FROM MyCursor
WHILE @@FETCH_STATUS = 0
   FETCH NEXT FROM MyCursor
  BEGIN
END

CLOSE MyCursor
DEALLOCATE MyCursor
Can somebody help me flesh this out to create multiple result cursors. Thanks.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform