Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBC Documentation
Message
From
06/11/2003 08:46:13
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00846773
Message ID:
00847046
Views:
20
Hi

SNIP
>While I'm at it, does anyone know if stored procs are supposed to work using ODBC or will they only work through OLEDB?

In Interbase/Firebird is possible to execute stored procedures with:
SQLEXEC(conH,"SELECT * FROM {stored_proc}(parameters)")
but only if the stored procedure return something back (records or values). For example, if one has a stored procedure that add a new record, this can returns 0 (successful) and the new PK or the error code and null.
Also
SQLEXEC(conH,"EXECUTE PROCEDURE {stored_proc}(parameters)")
works, but only if doesn't return something.

I don't know for another server, worth trying.
Previous
Reply
Map
View

Click here to load this message in the networking platform