Hi All ,
I have following SQL select code in my code
Compiling this gives following error
Any idea what am i doing wrong here. I want to order by the value in case expression . So appropriate syntax may be shared.
I have following SQL select code in my code
Quote:
select tijwx895.*,tijwm993.* , CASE when tijwm993.cwar = :tdsls401.cwar then 1 when tijwm993.wtyp = tdloctyp.buyback then 4 when tijwm993.wtyp = tdloctyp.order then 2 when tijwm993.wtyp = tdloctyp.cunostk then 5 when tijwm993.wtyp = tdloctyp.certified then 3 else 999 end |
Quote:
ptdjwm4500m0020( 880): Fatal Error: Macro 'end': Illegal number of arguments. |