
April 11th, 2007, 12:47 PM
|
|
Contributing User
|
|
Join Date: Oct 2005
Posts: 43
Time spent in forums: 5 h 35 m 4 sec
Reputation Power: 3
|
|
|
Decode grouping error
Hi
I’m trying to run a query and I’m getting error messages
Can anyone help me get though this problem?
1: Tried this and got this error message
ORA-00923
, decode (grouping(dsd.Field1,'RETURNED', COUNT(*), 0)) Net1
, decode (grouping(dsd.field1,'COMPLETED', COUNT(*), 0)) Net2
2: Tried this and got this error message
ORA-00909
, decode (grouping(dsd.Field1,'RETURNED', COUNT(*), 0)) Net1
, decode (grouping(dsd.field1,'COMPLETED', COUNT(*), 0)) Net2
|