Salesforce DEX-450 Exam - Topic 10 Question 9 Discussion
A developer is debugging the following code to determinate why Accounts are not being created Account a = new Account(Name = 'A'); Database.insert(a, false); How should the code be altered to help debug the issue?
D) Collect the insert method return value a Saveresult record
A) Add a System.debug() statement before the insert method
B) Add a try/catch around the insert method
C) Set the second insert method parameter to TRUE
Margret
9 months agoNovella
9 months agoGraham
9 months agoMicaela
9 months agoShawnta
9 months agoYuki
9 months agoMalcolm
9 months agoLyda
9 months agoLasandra
10 months agoLeatha
10 months agoAudry
10 months ago