SyntaxFix
Write A Post
Hire A Developer
Questions
Have a look at CASE statements http://msdn.microsoft.com/en-us/library/ms181765.aspx