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

queries for fields with space and symbol in them?

Having difficulty using SOQL to make a query on a column: "job here?"

It's returning a bad query exception, regardless of what I try.  Shouldn't the following work?

select id,name from account where [job here?] = 'stencil'

How can I accomplish what I need here without renaming the column name?


Hi thaifishy,

Are you sure you are using the field name and not the field label?