Vlad,
I usually use:
SQLEXEC( nHandle, '{CALL MyStoredProcedure}'
HTH,
George
>Hi!
>
>When I try following:
>
>SQLEXEC(nHandle, 'EXECUTE MyStoredProc')
>
>I get connectivity error 'invalid SQL statement' from ODBC.
>If I try to use
>SQLEXEC(nHandle, 'BEGIN EXECUTE MyStoredProc; END;')
>
>It says "Encountered symbol 'MyStoredProc' when expecting := ...", and := is assumed by default as if EXECUTE is not a correct command.
>
>What is the correct syntax? Is it possible to run Oracle SP from VFP? How?
>
>TIA
Everything we see or seems
Is but a dream within a dream - Edgar Allen Poe