Database systems Flashcards

1
Q

Path from modeling to creation of a database

A

1 ) Identify entities

2) Define relationships
3) Determine PK
4) Conversion into physical data model
5) Determine consistency conditions
6) Formulate transactions

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

Consistency conditions

A

All ID attributes are truly unique
Format and value range compliance
Preservation of referential integrity

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

Text types in SQL

A

CHAR(n) - character strings with always exactly n characters
VARCHAR(n) - character strings with limited characters
TEXT - very long character string, allowed size limited big DBMS

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

Number types in SQL

A

DECIMAL- specifies the exact number of decimal places required
INT- integers (heel getal)
REAL- floating point number

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

Other data type

A

VARBINARY(n) - binary types with variable length, but not more than n characters
BOOLEAN - boolean values

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