Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use VFP cursor IN SPT query?
Message
De
13/09/2002 14:02:20
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00699905
Message ID:
00700283
Vues:
14
>Is there a way to select records from a SQL Server table based upon values in a VFP cursor using SPT? In concept its simply....
>
>SELECT * from SQLTable Where PK IN (Select PK from VFPCursor)
>
>but since SQL doesn't know the contents of the VFP cursor, it's obvious why this won't work. Is some other way -- other than Scan the cursor and retrieve them one at a time...


1. Try T-SQL table variables rather than temp tables if permissions is an issue.

2. Use ADO to connect to SQL and VFP heterogenous data.

Jay
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform