Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling Oracle SP
Message
 
 
To
10/07/2000 23:21:33
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00390579
Message ID:
00390751
Views:
14
Modify your test code so you can get the error message of why it failed. You could post that here so someone may be able to better help you. The problem is not the SQLExec command. The problem probably is with your SP. What happens if you execute the SP from SQL*Plus? Do you get an error when the SP compiled [when you created the SP]?


>Hi,
>I want to call Oracle stored procedures. My code goes like this but does not work.
>iConn = sqlconnect()
>if iConn > 0
>   iErr = sqlexec(iConn,'execute test.sp_test_call;')
>   if Err > 0
>      wait window 'Stored procedure successful'
>   else
       lnRetVal = aerror(laError)
       clear
       list memo like laErr*
>      wait window 'Stored procedure not successful'
>   endif
>endif
>sqldisconnect(iConn)
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform