Is this a good scenario for MSSQL CASE statement?
25134
How do I perform an IF...THEN in an SQL SELECT?
103426
IF statement inside where clause in SQL
12846
Is there a good reason to use upper case for SQL keywords?
115431
What is the order of execution for this SQL statement
118970
How do I include nulls during comparisons in SQL Server?
70950
Using tsql greater than sign in CASE Expression
41368
How can I make SQL case sensitive string comparison on MySQL?
63897
How do I return a new IDENTITY column value from an SQLServer SELECT statement?
57465
Does Mysql have an equivalent to @@ROWCOUNT like in mssql?
106239
Expression inside switch case statement
5755
Case sensitive in data attribute
16391
How to create complex conditional clauses / queries?
84151
How to edit this mssql query?
3311
linq case statement
135857
Condition within JOIN or WHERE
23573
Multiple cases in switch statement
150230
Is there a C# case insensitive equals operator?