Data Types Flashcards

1
Q

Foreign key

A

FK

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

Primary key

A

PK

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

Fixed-length character data, 1 to 255 characters

A

CHAR

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

Variable-length character data, 1 to 2,000 characters. VARCHAR is automatically converted to VARCHAR2 in Oracle.

A

VARCHAR

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

Numeric data. NUMBER(9,2) is used to specify numbers that have two decimal places and are up to nine digits long, including the decimal places. Some RDBMSs permit the use of a MONEY or a CURRENCY data type.

A

NUMBER

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

Numeric data. DBMSs that do not support the NUMBER data type typically use NUMERIC instead.

A

NUMERIC

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

Integer values only. INT is automatically converted to NUMBER in Oracle.

A

INT

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

Small integer values only. SMALLINT is automatically converted to NUMBER in Oracle.

A

SMALLINT

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

DATE formats

A

DD-MON-YYYY, DD-MON-YY, MM/DD/YYYY, and MM/DD/YY

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