Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling Oracle SP
Message
 
 
To
11/07/2000 14:21:58
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00390579
Message ID:
00391184
Views:
24
I should have done this in the first place. I searched the MSDN KB using the keywork Oracle and found the following in article Q149882. The syntax is to enclose the call in curly braces.
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
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform