Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing Parameters To SQL Server
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01379682
Message ID:
01379689
Vues:
16
>>>I have a stored procedure with 10 params. How do I call it if I only need to pass the 8th and 9th parameters? Do I have to include placeholders for the first 7 in the EXEC statement?
>>
>>Try to call it with the named parameters.
>>
>>E.g.
>>
>>execute mySP @myParam7 = myValue7, @myParam8 = myValue8
>
>That's it. Thanks!

:) No problem. Sergey beat me by 10 seconds.
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform