Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBC Stored procedure
Message
From
24/09/2003 01:46:44
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
 
 
To
24/09/2003 00:56:31
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00831717
Message ID:
00831736
Views:
28
This message has been marked as the solution to the initial question of the thread.
I think this is so because ODBC has no support for EXECUTE PROCEDURE statements (I don't know for sure)
But iff your stored procedure return records or a value (I guess you use Interbase) you can simply :
SQLEXEC((gnConnHandle,'SELECT * FROM MyStoredFunct')
If you pass parameters to stored procedures:
SQLEXEC((gnConnHandle,'SELECT * FROM MyStoredFunct({parameter_list})')
>More specifically why would
>
>
SQLEXEC((gnConnHandle,'EXECUTE MyStoredFunct()')
>
>return
>
>
Connectivity error:[Easysoft][InterBase]Dynamic SQL Error, SQL error code = -104, Token unknown - line 1, char 8, MyStoredFunct
>
>in MESSAGE()
>
>Perplexed
>Geoff
>
>>Hi
>>
>>How do I execute a stored procedure via ODBC?
>>
>>Regards
>>Geoff Scott
Previous
Reply
Map
View

Click here to load this message in the networking platform