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:
00925334
Vues:
14
declate @returnval varchar(10)
set @returnval = select singleval from mytable where it_only = 'single value'

return @returnval

You can also use this to return a table value
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