Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pass a web variable to a stored procedure
Message
 
 
À
29/01/2008 15:09:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
01257541
Message ID:
01286889
Vues:
44
>>Probably, that's what Cetin recommended. But wouldn't know how to return the value to ASP.
>
>Here's a SP Example lifted from the web:
>** sp_insert
>PARAMETERS value
>SET NULL OFF
>INSERT INTO table1 (field1) VALUES (m.value)
>CREATE CURSOR result (result i)
>INSERT INTO result VALUES (GetAutoincValue())
>RETURN SETRESULTSET("result")
>
AFAIK you don't need it as a resultset and may return it as an output parameter. Should work the same, I think.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform