About 53,300 results
Open links in new tab
  1. SQL Case Expression Syntax? - Stack Overflow

    Aug 7, 2008 · case expression is the correct term as they evaluate to a scalar value (also. in SQL a statement is terminated by the "statement terminator" which is the semi-colon).

  2. sql - Using 'case expression column' in where clause - Stack …

    Jan 14, 2016 · Using 'case expression column' in where clause Asked 14 years, 4 months ago Modified 9 years, 9 months ago Viewed 76k times

  3. CASE .. WHEN expression in Oracle SQL - Stack Overflow

    CASE .. WHEN expression in Oracle SQL Asked 13 years, 1 month ago Modified 4 years, 8 months ago Viewed 959k times

  4. sql - Case expressions may only be nested to level 10 - Stack …

    In my case I didn't had any nested level. The issue occurred only when executing the select statement from a LinkedServer, my query was similar to the following.

  5. sql - Case expressions in Access - Stack Overflow

    Apr 21, 2009 · Can you use case expressions in Access? I'm trying to determine the max date form 2 columns but keep getting syntax errors in the following code: CASE WHEN …

  6. SQL: How use case and cast in a query? - Stack Overflow

    Aug 23, 2013 · SQL: How use case and cast in a query? Asked 14 years, 6 months ago Modified 12 years, 2 months ago Viewed 121k times

  7. sql - How to use REGEXP_LIKE in a CASE statement? - Stack Overflow

    Oct 22, 2013 · SQL works in a different way to most languages when evaluating expressions - it doesn't return true and then compare that with other values; you need to put the condition that …

  8. SQL Server : set a variable in CASE statement - Stack Overflow

    May 3, 2017 · In T-SQL, CASE is an expression that returns a value - you cannot have code blocks in your CASE statement. See Martin's answer how to deal with that.

  9. mysql - Case Expression vs Case Statement - Stack Overflow

    Sep 15, 2012 · What is the difference between a Case Expression and a Case Statement in MySQL? When can they be used, and what are the benefits of using one over the other? Case …

  10. Best way to do nested case statement logic in SQL Server

    I'm writing an SQL Query, where a few of the columns returned need to be calculated depending on quite a lot of conditions. I'm currently using nested case statements, but its getting messy. …