Hi,
I have getting the error about this. Hope you could help
the error is missing operator from here
I always made some revision but nothing happens. Hope you can help me on this. thanks
I have getting the error about this. Hope you could help
Code:
SELECT [NM_DATA clean].UPC_ID, DB2SH000_LU_NUTRIENT_FACTOR.UPC_ID, DB2SH000_LU_NUTRIENT_FACTOR.NDB_NBR, [NM_DATA clean].Source FROM [NM_DATA clean] LEFT JOIN DB2SH000_LU_NUTRIENT_FACTOR ON [NM_DATA clean].UPC_ID = DB2SH000_LU_NUTRIENT_FACTOR.UPC_ID where [NM_DATA clean].Source = DB2SH000_LU_NUTRIENT_FACTOR.NDB_NBR if [NM_DATA clean].Source like '9*' and [NM_DATA clean].Source > 99999999 then [NM_DATA clean].Source= 'NIMS' else if [NM_DATA clean].Source like '8*' and [NM_DATA clean].Source > 99999999 then [NM_DATA clean].Source= 'corporate' else [NM_DATA clean].Source= 'FNDDS' ENDIF
Code:
[NM_DATA clean].Source = DB2SH000_LU_NUTRIENT_FACTOR.NDB_NBR if [NM_DATA clean].Source like '9*' and [NM_DATA clean].Source > 99999999 then [NM_DATA clean].Source= 'NIMS' else if [NM_DATA clean].Source like '8*' and [NM_DATA clean].Source > 99999999 then [NM_DATA clean].Source= 'corporate' else [NM_DATA clean].Source= 'FNDDS' ENDIF
Comment