Is it possible to create dummy column while fetching in SOQL

select 'Dummy Column Text' as DUMMYCOL from MY_TABLE
  • Just out of curiosity, what does this dummy column do??
    – Mr.Frodo
    Commented Jun 21, 2016 at 7:05
  • I have to use this n commandline dataloader. Output file should be in that format Commented Jun 21, 2016 at 7:30

1 Answer 1


No, You cannot. The Salesforce SOQL doesn't have this feature. You may create a field in the Object and you can retrieve it through query as it means like (Salesforce Object Query Language)

Not the answer you're looking for? Browse other questions tagged .