Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)

  • RE: Using Case with 2 different variables in one query

    you have a syntax error with "then" and you must use ' for text value and " for alias 


    Select item as "Item",
    case koor
      when...

  • RE: Very challenging TSQL Query

    Podrías intentar hacer algo como esto.

    ;With CTE_Source As (
        Select Fl, Col
        , Val = Case
                    When Val Is Null Then 0
                    Else Case
                            When...

Viewing 2 posts - 1 through 2 (of 2 total)