function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
thardinthardin 

SOQL: string concatenation

I could not find anything in the v6.0 API docs on this.

Anyone know if string concatenation is supported in SOQL?

Using Oracle concatenation syntax fails:

select Name || 'Inc.', ID from account

Using MS-SQL syntax (which I think is SQL-92 syntax compliant) also fails:
select Name + 'Inc.', ID from account

Thanks -
Todd Hardin,
Customer Systems Inc.
DevAngelDevAngel
Concatenation and the requisite aliasing is not supported in the current version of SOQL.
Kirill_YunussovKirill_Yunussov

What about now?