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

    Aug 7, 2008 · What is the complete and correct syntax for the SQL Case expression?

  2. sql - Case in Select Statement - Stack Overflow

    Jan 7, 2013 · Using a SELECT statement with a searched CASE expression Within a SELECT statement, the searched CASE expression allows for values to be replaced in the result set …

  3. 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. …

  4. SQL Server CASE .. WHEN .. IN statement - Stack Overflow

    May 18, 2011 · On SQL server 2005 I am trying to query this select statement SELECT AlarmEventTransactionTableTable.TxnID, CASE AlarmEventTransactions.DeviceID WHEN …

  5. How do I do multiple CASE WHEN conditions using SQL Server …

    How do I do multiple CASE WHEN conditions using SQL Server 2008? Asked 12 years, 9 months ago Modified 3 years, 4 months ago Viewed 1.7m times

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

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

  7. Is SQL syntax case sensitive? - Stack Overflow

    Sep 30, 2008 · Is SQL case sensitive? I've used MySQL and SQL Server which both seem to be case insensitive. Is this always the case? Does the standard define case-sensitivity?

  8. What is the equivalent of Select Case in Access SQL?

    Apr 3, 2013 · Select Case OpeningBalance Case 0 To 5000 commission = 20 Case 5001 To 10000 commission = 30 Case 10001 To 20000 commission = 40 Case Else commission = 50 …

  9. How do I perform an IF...THEN in an SQL SELECT?

    Sep 15, 2008 · 2059 The CASE statement is the closest to IF in SQL and is supported on all versions of SQL Server.

  10. T-SQL: Using a CASE in an UPDATE statement to update certain …

    T-SQL: Using a CASE in an UPDATE statement to update certain columns depending on a condition Asked 14 years, 9 months ago Modified 3 years, 5 months ago Viewed 406k times