Microsoft
MB6-890 · Question #2
You need to delete multiple records from the CustTrans table that are not approved. Code execution efficiency is a factor since the table will contain millions of records. Additionally, the…
The correct answer is A. delete__from CustTrans where CustTrans.Approved ==NoYes :: No. See the full explanation below for the reasoning.
Question
You need to delete multiple records from the CustTrans table that are not approved. Code execution efficiency is a factor since the table will contain millions of records. Additionally, the CustTrans table does not have any overridden methods. Which X++ code segment should you use to achieve this goal?
Options
- Adelete__from CustTrans where CustTrans.Approved ==NoYes :: No;
- Bselect firstonly CustTrans where CustTrans.Approved==NoYes::No;
- Cwhile select CustTrans where CustTrans.Approved==NoYes::No
- Dselect CustTrans where CustTrans-Approved == NoYes::No;
How the community answered
(31 responses)- A74% (23)
- B3% (1)
- C10% (3)
- D13% (4)
Community Discussion
No community discussion yet for this question.