Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam Platform Developer I Topic 9 Question 75 Discussion

Actual exam question for Salesforce's Platform Developer I exam
Question #: 75
Topic #: 9
[All Platform Developer I Questions]

A company has a custom object, order __c, that has a required, unique external ID field called order Number__c.

Which statement should be used to perform the DML necessary to insert new records and update existing records in a list of Order __c records

using the external ID field?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Polly
1 months ago
Wait, did they say the external ID field is called 'order Number__c'? That's a weird way to name it, but I guess it works. C is the answer for sure.
upvoted 0 times
...
Arthur
1 months ago
Aha! C is the winner! Upsert is the way to handle this situation. I bet the exam writers were trying to trick us with those other options.
upvoted 0 times
Kris
5 days ago
I agree, C is the correct answer. Upsert is the way to go.
upvoted 0 times
...
...
Brendan
1 months ago
This is a tricky one, but I'm pretty sure C is the right answer. Upsert is the way to go when you have an external ID field.
upvoted 0 times
...
Precious
1 months ago
I was a bit confused at first, but after reading the question carefully, I agree that C is the way to go. The external ID field is the key here.
upvoted 0 times
Tayna
12 days ago
Yes, it ensures that the correct records are inserted or updated based on the unique identifier.
upvoted 0 times
...
Gene
13 days ago
I agree, using the external ID field is crucial for upserting records.
upvoted 0 times
...
Lindsey
1 months ago
C) upsert orders Order Number c;
upvoted 0 times
...
...
Romana
1 months ago
Hmm, I think option C is the correct answer. The 'upsert' statement is used to insert new records or update existing ones based on the external ID field.
upvoted 0 times
Isadora
12 days ago
Great, thanks for clarifying.
upvoted 0 times
...
Terry
28 days ago
Yes, 'upsert' is used for that.
upvoted 0 times
...
Elvis
1 months ago
I think option C is correct.
upvoted 0 times
...
...
Pearlene
2 months ago
I'm not sure, but I think merge orders Order Number_c might also work since it mentions the external ID field.
upvoted 0 times
...
Maryann
2 months ago
I agree with Caprice, because upsert is used to insert new records and update existing records based on the external ID field.
upvoted 0 times
...
Caprice
2 months ago
I think the correct statement is C) upsert orders Order Number c.
upvoted 0 times
...

Save Cancel