An organization has two million customers that are part of the International customer group.
Validation must occur when customer records are updated. For all customers where the value of the customer group field is international, you must the delivery mode to Air.
You need to update the customer records.
Which two segments can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
This is Update and Update_RecordSet Code sample. Result of both will be same .
TestTable TestTable;
//Update_Recordset
update_recordset TestTable setting Name ='New Enterprises' where TestTable.Accountnum =='uS-027';
//Update
ttsBegin;
while select forupdate TestTable where TestTable.Accountnum =='uS-027'
{
TestTable.Name ='New Enterprises';
TestTable.update();
}
ttsCommit;
info('OK');
Currently there are no comments in this discussion, be the first to comment!