Exam4Training

Which of the following expressions returns the digits 12345 for further calculation?

COL1 is defined as CHAR(05) and contains CHAR(‘12345’).

Which of the following expressions returns the digits 12345 for further calculation?
A . HEX(COL1)
B . DEC(COL1)
C . PACK(COL1)
D . DIGITS(COL1)

Answer: B

Exit mobile version