USING THE VALUE & [message #291824] |
Mon, 07 January 2008 00:17 |
kumarvk
Messages: 214 Registered: July 2004
|
Senior Member |
|
|
Hi,
I have few records using the value & in the record.
For example like this:
C&E HDT
C&E LDT
When I using the condition like this
select code,desc from MRO where
MAX(decode(code,'BS',cur_mf,'')) "BUS",
MAX(DECODE(CODE,'C&E HDT',cur_mf,'')) "C&E HDT",
MAX(DECODE(CODE,'C&E LDT',cur_mf,'')) "C&E LDT",
MAX(DECODE(CODE,'F MDT',cur_mf,'')) FMDT,
MAX(DECODE(CODE,'N LDT',cur_mf,'')) NLDT,
MAX(DECODE(CODE,'TF PKU',cur_mf,'')) TF_PKUP
When I run this I am not getting the result for C&E HDT and C&E LDT, can anyone help me
|
|
|
|
|
|