About this question
Listc = [SELECT ID FROM Contact WHERE AccountId !='00190000016ozwL']; System.debug(c.size()); Database.SaveResult[] srList = Database.delete(c, false); This is the anonymous apex that I am trying to execute.
I am getting the following error while executing.
Illegal assignment from LIST
Not sure why am I getting this error because "c" is a collection only. Can you let me know ?