Article ID: 149882
Article Last Modified on 3/14/2005
*************************************
** Description of variables used **
* h = handle
* ORADSN = datasource name
* USERID = user id
* PWD = password
**************************************
h=SQLConnect("ORADSN","USERID","PWD") && Establish a connection
IF h > 0
WAIT WINDOW "Connection Successful" NOWAIT
=SQLExec(h,"{Call SP_MYPROC}") && Execute the stored procedure
=SQLDisconnect(h) && Terminate the connection
ELSE
WAIT WINDOW "Connection Failed"
ENDIF
NOTE: The 32-bit Visigenic Oracle ODBC driver that ships with Visual
FoxPro 3.0b and many other 32-bit Microsoft products does not support the
execution of stored procedures.Additional query words: ODBC
Keywords: kbhowto kbinterop kbcode KB149882