Hi!
Did not worked for me with Oracle Driver and worked with MS driver for Oracle. Thanks anyway.
One more question: Is there an ability to return a record set from the SP in Oracle in a single SQLEXEC call? Yet I required to store the result into the temporary table and than query it by a separate call to Oracle server. It there a better way?
TIA.
>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
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.