Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling Oracle SP
Message
 
 
À
11/07/2000 14:21:58
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:
00391184
Vues:
25
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform