Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it possible to embed some logic inside the SQL CASE?
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01338925
Message ID:
01338927
Views:
12
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform