Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Many parameters in a Scalar-valued Function
Message
 
 
À
15/08/2008 08:50:36
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01338975
Message ID:
01339097
Vues:
18
Mike,

As in VFP, UDF calls in queries in SQL Server are expensive by itself. If query have those columns already, I would pass 24 parameters to avoid extra query. Anyway, you've to test different ways to find out which one works better for you.

>
>I should have also mentioned - does it change the solution if I am calling it for every row in a view? It could be called several hundred times in a row. Would it make more sense in that situation to pass in the 24 values that are already retrieved, or to use the solution as already posted?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform