Data Types Flashcards
1
Q
CHAR(N)
A
String data type. Have (N) amount of characters e.g CHAR(4) “Fred” or “1234”
2
Q
TEXT
A
String data type. May have variable number of characters e.g “hello” or “123456” or “ Sam”
3
Q
ENUM
A
String data type. Values are constrained to be one of a list of permitted values
4
Q
INT
A
Numeric data type. Can store whole numbers. May be positive or negative.
5
Q
REAL
A
Numeric data type. Can store numbers with decimal places. E.g 1.23, 1.45 , 0.56 -3.43235
6
Q
DATE
A
Data type that can store dates. E.g 1/24/2017 or 12 Sep 2002
7
Q
TIME
A
Data type that can store time values. E.g 03:15:00 (quarter past 3 am)
8
Q
BOOLE
A
Data type that can store the values TRUE and FALSE