Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I pass a local fox cursor as an parameters into to s
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
01032134
Message ID:
01032136
Vues:
24
>Can I pass a local fox cursor as an parameters or global cursor into to sql server. Is this possible like used in following command
>
>
>lnResult = sqlexec(nConnHandle, "insert into asist.dbo.sales select * from FoxLocalCursorSales"
>
No, you cannot. What're you trying to do? There could be other ways to achive what you want. For example, you can use How to make SQL Pass-Through cursor updatable FAQ #8153
Sonething like (pseudo code)
lnResult = sqlexec(nConnHandle, "SELECT * FROM asist.dbo.sales WHERE 1=2", "crsSales"
* Make crsSales updatable
...
SELECT crsSales
APPEND FROM (DBF("FoxLocalCursorSales"))
= TABLEUPDATE()
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform