Multiple choice technology programming languages

Which of the following SQL command represent character data type?

  1. CHAR

  2. VARCHAR

  3. VARCHAR2

  4. All the Above

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

CHAR, VARCHAR, and VARCHAR2 are all character data types in SQL. CHAR is fixed-length, VARCHAR is variable-length (standard SQL), and VARCHAR2 is Oracle's proprietary variable-length type with additional features. All three store character/string data, making 'All the Above' the correct answer. These types are used for text data like names, addresses, and descriptions.