select * from
(
select prod_code from UNICA.DSI_SUBS_STOP_START_DRW
)
pivot (
count(prod_code)
For prod_code in ('E','3','W','W5','SS','S','4','W2','WS','3S','D','FS','3T','H3','TS')
)
I can't make this pivot work. Can somebody correct my mistake in the code. I get "SQL command not Properly ended" error. I have a problem making PIVOT work. Does Oracle 10g support PIVOT at all ???
Thanks.