Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ODBC Stored procedure
Message
De
24/09/2003 01:46:44
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00831717
Message ID:
00831736
Vues:
26
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform