Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with UDF parameters
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01020343
Message ID:
01020541
Vues:
23
>That actually is syntactically incorrect, but what I'm doing now is extracting into a lookup table as table variable first and then JOINing to that instead of the function.
>
>I'm using the 'primary key' qualifier within the table definition to avoid the table scan problem and the performance is not too bad.
>
>Thanks for your assistance which pushed me into thinking of alternatives.

Hi Simon,

Sometimes a temp table may be faster because you can create an index on it. You can also create an index on a table variable with primary key constraint.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform