Create A column Formula

  • Hello,

    can any one tell me how can i create a column fourmla that depend on other column.

    what i mean if i have a table with two colomen:

    col1

    col2

    if col1=1 then col2=Some value else col2=other value

  • Use a CASE expression.

    SET Col2 = CASE Col1 WHEN 1 THEN SomeValue ELSE OtherValue END

    --Jonathan



    --Jonathan

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

You must be logged in to reply to this topic. Login to reply