Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I pass a local fox cursor as an parameters into to s
Message
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
01032134
Message ID:
01032136
Views:
25
>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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform