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!

Right Trim Concatenation

Status
Not open for further replies.

msrikki

Technical User
Jul 11, 2006
3
US
I am trying to do a simple concatenation for first and last name together, trimming the following blank spaces in the first name. The derived field tests okay, but when I try to use it in the report, I get the following error:

[Oracle][ODBC][Ora]ORA-01722: invalid number

The derived field I am using is:
RTRIM("ECANADA"."PS_PERSONAL_DATA"."FIRST_NAME") +' '+("ECANADA"."PS_PERSONAL_DATA"."LAST_NAME")
 
Try this:

RTRIM("ECANADA"."PS_PERSONAL_DATA"."FIRST_NAME") || ' ' || ("ECANADA"."PS_PERSONAL_DATA"."LAST_NAME")

CharlesCook.com
ADP - PeopleSoft - SAP
ReportSmith - Crystal Reports - SQR - Query - Access
Reporting - Interfaces - Data Mining
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top