Data Types Flashcards

1
Q

CHAR(N)

A

String data type. Have (N) amount of characters e.g CHAR(4) “Fred” or “1234”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

TEXT

A

String data type. May have variable number of characters e.g “hello” or “123456” or “ Sam”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

ENUM

A

String data type. Values are constrained to be one of a list of permitted values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

INT

A

Numeric data type. Can store whole numbers. May be positive or negative.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

REAL

A

Numeric data type. Can store numbers with decimal places. E.g 1.23, 1.45 , 0.56 -3.43235

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

DATE

A

Data type that can store dates. E.g 1/24/2017 or 12 Sep 2002

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

TIME

A

Data type that can store time values. E.g 03:15:00 (quarter past 3 am)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

BOOLE

A

Data type that can store the values TRUE and FALSE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly