Computer Science for IGCSE & O level - Databases (Section 6 - No. 41)

What type of data should be stored in a column with the data type `VARCHAR`?
Whole numbers.
Dates.
Text strings of varying lengths.
Decimal numbers with a fixed number of decimal places.

Explanation

`VARCHAR` is used for storing text strings, where the length of the string can vary, unlike `CHAR` which has a fixed length.

Comments (0)

Advertisement