What is the outcome...
 
Notifications
Clear all

What is the outcome after executing the following code snippet in the org?

1 Posts
1 Users
0 Likes
53 Views
Isaiah
(@casausisaiah)
Noble Member
Joined: 7 months ago
Posts: 353
Topic starter  

The Contact object has a custom field called "Zone." Its data type is "Text" and field length is 3 .

What is the outcome after executing the following code snippet in the org?

  • A . Both inserts succeed and the contact record that has the Zone value of 'PI'IT is set to NULL
  • B . A partial insert succeeds and the contact record that has the Zone value 'IAD1 is inserted
  • C . Both inserts succeed and the contact record that has the Zone value of PITT is truncated
  • D . An unhandled DML exception is thrown and no contact records are inserted

Show Answer Hide Answer

Suggested Answer: D

   
Quote
Share: