• Chris Gunn 9
  • NEWBIE
  • 5 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
I have many accounts in my org and when I execute (in Query Editor) "SELECT Name FROM Account" I am receiving "Line: 1, Column: 0
required (...)+ loop did not match anything at input 'SELECT'" 

I am not sure why. If I test this through Apex code, i still don't receive any results. For example:

Account[] accs = [SELECT Name  FROM Account];
System.debug('@@accounts: ' + accs);

I've also tried
List<Account> accs = [SELECT Name  FROM Account];

returns an empty array.

Any suggestions? This is bugging me incredibly. I've tried Contacts too and still does not return any results.
I have many accounts in my org and when I execute (in Query Editor) "SELECT Name FROM Account" I am receiving "Line: 1, Column: 0
required (...)+ loop did not match anything at input 'SELECT'" 

I am not sure why. If I test this through Apex code, i still don't receive any results. For example:

Account[] accs = [SELECT Name  FROM Account];
System.debug('@@accounts: ' + accs);

I've also tried
List<Account> accs = [SELECT Name  FROM Account];

returns an empty array.

Any suggestions? This is bugging me incredibly. I've tried Contacts too and still does not return any results.