trying to concatenate some string values in a formula but getting invalid expression. Tried this: {custbody_dp_opp_machine}, " ", {entitystatus}
This works: CONCAT({custbody_dp_opp_machine}, {entitystatus})
But this errors: CONCAT({custbody_dp_opp_machine}, " ",{entitystatus})
c
CD
07/05/2021, 3:01 PM
oracle uses single quotes for strings
a
AI1
07/05/2021, 4:20 PM
Also I think the CONCAT function can only have 2 arguments. Try using double pipes
{custbody_dp_opp_machine} || ‘ ‘ || {entity status}
(No CONCAT needed)
m
mg2017
07/05/2021, 5:07 PM
thank you. the || worked. is the double || the equivalent to the + sign?
a
AI1
07/05/2021, 5:38 PM
I’ve never tried the “+” sign. I’ve only ever used double ||
👍 1
j
jen
07/05/2021, 7:05 PM
|| messes me up because it randomly stopped working a while back in MySQL
m
mg2017
07/05/2021, 10:09 PM
I guess I am subconsciously using excel formula!
j
Jon Kears
07/05/2021, 11:36 PM
yep the MSSQL + is equal to oracle ||
just remember || is an OR in advanced pdf!