Home » MYSQL » Data Types » Question
  1. The storage in bytes required for VARCHAR(4) type ‘abcd’ is _____________.
    1. 5
    2. 8
    3. 3
    4. 1
    5. None of these
Correct Option: A

The ‘VARCHAR’ values are not padded when they are stored. The trailing spaces are retained when values are stored and retrieved in conformance with standard SQL. The given size is 5 bytes.



Your comments will be displayed only after manual approval.