Multiple choice technology programming languages

If you want to change the value of CAL DATE from 20090507 to 20090508, then which CHANGE statement is correct ?

  1. CHANGE CAL DATE TO 20090508

  2. CHANGE CAL DATE FROM 20090507 TO 20090508

  3. Both (a) & (b) are correct

  4. None of the above

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The CHANGE statement syntax requires only the variable name and the new value: CHANGE variable TO newvalue. Option A follows this correct syntax. Option B incorrectly includes the FROM clause which is not part of the standard CHANGE statement.