Question

SELECT X.FIRSTNAME + ' ' + X.LASTNAME as names FROM B_CUSTOMERS X;

returns the error:

ORA-01722: invalid number 01722. 00000 - "invalid number" *Cause:
*Action:

All research I have done indicates that this is a perfectly viable method for combining columns.

Was it helpful?

Solution

Use ||

SELECT X.FIRSTNAME || ' ' || X.LASTNAME as names 
FROM B_CUSTOMERS X
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top