Multiple choice technology

How many bytes does the data type decimal(7,2) and decimal(7.2) occupy?

  1. 9,9

  2. 7,7

  3. 7,8

  4. 10,10

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

In Ab Initio, decimal(7,2) uses comma notation and occupies 7 bytes total. The notation decimal(7.2) uses a period and is interpreted as 7 digits precision with 2 decimal places, occupying 8 bytes. The period-based syntax has different storage requirements.