Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Execute in a query
Message
 
À
16/07/2004 16:13:20
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00925315
Message ID:
00925336
Vues:
13
I forgot to tell you to create a value to output the value to


declare @got_val varchar(10)
set @got_val = ''
execute stor_proc @got_val

print @got_val

In the procedure you need to accepr the pass

create stor_proc
@returnval varchar(10) output
as
......



return @returnval
Software engineers are trained to read and understand code; they are not trained in mind reading. Document the purpose not just the functionality.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform