UrbanPro
true

Learn Salesforce Administrator from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

Difference Between Insert/Update And Database.Insert/ Database.Update

Kumar
05/08/2017 0 0

insert/update

Database.insert/Database.update

Assume that you are inserting 100 records. If any one of the record fail due to error then entire operation will fail. None of the records will be saved into the database. with insert/update if we use try-catch then we can capture only one error which will cause to stop the operation.

Assume that you are inserting 100 records. If any one of the record fail due to error then it will perform partial operation (valid records will be inserted/updated) if we use Database.insert(list,false)/ Database.update(list,false).

.with Database.insert/Database.update we can capture all the errors by saving result in Database.saveResult[].

0 Dislike
Follow 0

Please Enter a comment

Submit

Other Lessons for You

Salesforce Deployment
A Deployment connection allows customizations to be copied from one organization to another. This list shows the deployment connections allowed from other organizations to this organization, and from this...

Trigger Sceniors - session 2
Scenario3:- // Amount In Words before Insert, before update for(Quote qu : Trigger.New) { if(qu.amount_in_words__c!=null) { qu.Converted_Amount_In_Words__c = ConvertRupees.ConvertFun((qu.amount_in_words__c)); ...
S

Starting Career as Salesforce Admin
Hello Everyone! This is just an introductory lesson for those who want their career as Salesforce Admin. Being a Salesforce Admin, you do not need any prior experience on CRM. What you all need is the...

How to Learn salesforce easily?
Steps: 1.Know the course content. 2. Collect all materials. 3. Separate all materials into A.Admin B.Development C.Project. 4. Get the best trainer and follow him/her. 5. Update your skills with the help of all available resources.

Trigger Sceniors
Trigger Scenarios:- (Prepared By Suresh Kumar tvs) Scenario one:- (All Opportunity Triggers) //Trigger to display error message when stage name is change from 'Order closed' to other values Part one...
S
X

Looking for Salesforce Administrator Classes?

The best tutors for Salesforce Administrator Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Salesforce Administrator with the Best Tutors

The best Tutors for Salesforce Administrator Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more