You need to sign in to do that
Don't have an account?
kora born
SQL Error in challenge ?
There is an 'invalid' unwarranted error in the last challenge in VF basics:
There was an unexpected error in your org which is preventing this assessment check from completing: System.QueryException: line 1:47 no viable alternative at character '"
It runs fine:
and this is the SQL:
public class NewCaseListController {
public List<Case> getNewCases(){
List<Case> results = Database.query(
'SELECT Id, CaseNumber ' +
'FROM Case ' +
'WHERE status = "New"' +
'LIMIT 10'
);
return results;
}
}
There was an unexpected error in your org which is preventing this assessment check from completing: System.QueryException: line 1:47 no viable alternative at character '"
It runs fine:
and this is the SQL:
public class NewCaseListController {
public List<Case> getNewCases(){
List<Case> results = Database.query(
'SELECT Id, CaseNumber ' +
'FROM Case ' +
'WHERE status = "New"' +
'LIMIT 10'
);
return results;
}
}
All Answers
Tg the runtime is smarter :)