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:
01339203
Views:
9
>>Here it is http://forums.asp.net/t/1305210.aspx
>
>That IS terrible programing!
>That guy hard coded some warehouse in its SP.
>No optional parameters no nothing.
>What if I want to get values for ALL warehouses? That SP didn't work at all.
>And he/she always hope that the table will have ONLY one record in table for some condition.
>Maybe that is true BUT that is only HOPE! :-)
>
>

Check what this guy came up with. I don't understand how does this select work, but he claims it does.
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