Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ORA00923 Derived Field Error 1

Status
Not open for further replies.

abowling

Technical User
Apr 27, 2005
33
0
0
US
Hello,
I am receiving the following error:

ORA00923 Keyword FROM not found where expected.

Here is my derived field:

DECODE("PS_LOCATION_TBL"."LOCATION",
'REMOT' ,'Other U.S. Location',
'AZTEM', 'Tempe',
'CAIRV', 'Irvine',
'CASF', 'San Francisco',
'FLSUN', 'Sunrise',
'LANO', 'New Orleans',
'MDSS', 'Silver Spring',
'NHSAL', 'Salem',
'NYAST', 'Astoria',
'NYNY' , 'New York',
'OHCOL', 'Columbus',
'TXDAL', 'Dallas',
'TXHOU', 'Houston'))))))))))))))

Any idea what this means?
 
Nevermind - I just figured it out. It was conflicting with another Derived Field I had in the report.
 
DECODE("PS_LOCATION_TBL"."LOCATION",
'REMOT' ,'Other U.S. Location',
'AZTEM', 'Tempe',
'CAIRV', 'Irvine',
'CASF', 'San Francisco',
'FLSUN', 'Sunrise',
'LANO', 'New Orleans',
'MDSS', 'Silver Spring',
'NHSAL', 'Salem',
'NYAST', 'Astoria',
'NYNY' , 'New York',
'OHCOL', 'Columbus',
'TXDAL', 'Dallas',
'TXHOU', 'Houston')))))))))))))) <================

Why so many end quotes?

CharlesCook.com
Specializing in ReportSmith Training and Consulting
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top