Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple where statements
Message
 
 
À
18/02/2005 11:04:09
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Divers
Thread ID:
00988288
Message ID:
00988358
Vues:
35
You're welcome.

>WOW!
>That was clean and beautiful!
>Thanks Sergey
>
>>Try
>>SELECT *
>>  FROM vw.foo  f
>>  WHERE f.cost_center LIKE
>>    CASE WHEN @cost_center = 'ALL' THEN '%' ELSE @cost_center END
>>
>>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform