Database systems Flashcards
Path from modeling to creation of a database
1 ) Identify entities
2) Define relationships
3) Determine PK
4) Conversion into physical data model
5) Determine consistency conditions
6) Formulate transactions
Consistency conditions
All ID attributes are truly unique
Format and value range compliance
Preservation of referential integrity
Text types in SQL
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
Number types in SQL
DECIMAL- specifies the exact number of decimal places required
INT- integers (heel getal)
REAL- floating point number
Other data type
VARBINARY(n) - binary types with variable length, but not more than n characters
BOOLEAN - boolean values