Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it possible to embed some logic inside the SQL CASE?
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01338925
Message ID:
01338927
Vues:
14
He had 2 SPs originally and wanted to combine them. I'll tell he needs to keep it as two separate entities.

Thanks.

>>Hi everybody,
>>
>>I beleive this is impossible to have something like this
>>
>>select ..., CASE When SomeCondition THEN some complex programming logic ... etc.
>>
>>Here is the query that someone tries and it looks to me like a completely wrong, but is it possible to somehow solve this?
>>
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform