trying to concatenate some string values in a form...
# suiteflow
m
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
oracle uses single quotes for strings
a
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
thank you. the || worked. is the double || the equivalent to the + sign?
a
I’ve never tried the “+” sign. I’ve only ever used double ||
👍 1
j
|| messes me up because it randomly stopped working a while back in MySQL
m
I guess I am subconsciously using excel formula!
j
yep the MSSQL + is equal to oracle || just remember || is an OR in advanced pdf!
👍 2