Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling Oracle SP
Message
 
 
À
10/07/2000 23:21:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00390579
Message ID:
00390751
Vues:
13
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform