A developer uses a before insert trigger on the Lead object to fetch the Territory__c object, where the Territory__c.PostalCode__c matches the Lead.PostalCode. The code fails when the developer uses the Apex Data Loader to insert 10,000 Lead records. The developer has the following code block:
01 for(Lead l : Trigger.new){
02 if(l.PostalCode != null){
03 List TerrList = [select Id FROM Territory__c WHERE PostalCode__c =: l.PostalCode];
04 if(terrList.size() >0){
05 l.Territory__c = terrList[0].Id;
06 }
07 }
08 }
Which line of code is causing the code block to fail?
Select one of the following: