Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

below query i need to write case statment (how to write case stament)

$
0
0

below reqirment is in CASE EXP AND UPDATE STAMENT:-

i have two table's EMPUDF_E and CSTMSELELEM_E and key column are EMPUDF_E.CUSTOMSELECTIONELEMENT_I=CSTMSELELEM_E.NUMBER_I

get CSTMSELELEM_E.NAME_N in to temp variable X(please i need it as in case stament)

 

If ((value of X="Other (please specify below)")  OR (EMPUDF_E.VAL where EMPUDF_E.UDFNAME="P_OtherLanguages") <>  NULL/Blank)  Then

{

 

  SET "OTHER"

 

}

 

  Else

{

    Set X

}


santoshbangalore





Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>