Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: SSMS QUERY LOGIC

    hi vijayan

    this is my query

    SELECT DISTINCT

    A.EMP_STAFFID "Employee Code",

    --O.TRANS_GOAL_COMP_TYPE,

    NT.TRANS_GOAL_COMP_NAME C,

    NT1.TRANS_GOAL_COMP_NAME G,

    --CASE WHEN O.TRANS_GOAL_COMP_TYPE='C' THEN o.TRANS_GOAL_COMP_NAME else '' END C,

    --CASE WHEN O.TRANS_GOAL_COMP_TYPE='G' THEN o.TRANS_GOAL_COMP_NAME else ''END G,

    --O.TRANS_GOAL_COMP_WEIGHTAGE,

    A.EMP_FIRSTNAME +...

Viewing post 1 (of 1 total)