Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
One SPT cursor to be used in another SPT
Message
De
12/07/2006 12:59:37
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Database:
MS SQL Server
Divers
Thread ID:
01135239
Message ID:
01135769
Vues:
27
This message has been marked as a message which has helped to the initial question of the thread.
>Thanks for your help with this. I will try out temp tables and trouble you if I get stuck anywhere.

You can look up message #1134780 (or the whole thread) - seems to describe the same type of problem.

Also, you can have two selects in your SPT strings, you just get two result sets:
cSQL="select * from table1"+chr(13)+"select * from table2"
sqlexec(haendel, cSql, "crsTemp")
if everything goes right, you get the results of the first select in cursor crsTemp, and the second in crsTemp1.

At times I had anywhere between one and dozen of cursors pulled with a single trip to the server.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform