I am have a problem with this section of code. When I place the select statemnet in a string variable i get an syntax error at RTRIM. Can the Case section be used in a string variable i am wondering
Cust_Org_Name =
CASE WHEN C.CustomerType ='+'I'+'THEN RTRIM(CL.Lastna me)
WHEN C.CustomerType = '+'E'+'THEN RTRIM(CL.Custom ername)
END,
Thanks for your assistance
Cust_Org_Name =
CASE WHEN C.CustomerType ='+'I'+'THEN RTRIM(CL.Lastna me)
WHEN C.CustomerType = '+'E'+'THEN RTRIM(CL.Custom ername)
END,
Thanks for your assistance
Comment