Teminology Flashcards
Data
Values stored on paper, in a person’s mind or stored in a database.
Information
Data values that have been processed in some way to provide meaning. Information is Knowledge!
Null
A value is Not Known or Not Applicable. Nulls are the “bane” of a programmers existence as Null compared to any value in a mathematical operation will always result in (return) a Null.
Table
In the initial design phase you identify the “things” of significance to the business. These “things” will probably become tables in your database.
Field
These are the qualities or characteristics of the entities. A field typically contains a single (scalar) value. Although there is a data type that supports multiple values called an array.
Calculated Field
Contains a value resulting from a calculation of other stored values, such as: Qty * Price.
Data type
Scalar Data types include characters (text), numbers, dates, boolean (Yes, No or True, False).
Record
All the characteristics that quantify a single instance of the entity. Tuple is an academic term that means an ordered list of a specified type.
View
A view is not a physical object it is a SELECT statement based on one or more underlying physical tables. The view SQL Statement is stored in the database data dictionary.
Materialized View
Is a physical object which contains all the data from the underlying base tables – current to the point in time the snapshot was “taken”.
Primary Key
A special field or group of fields that are used to uniquely identify each record in a table.
Foreign Key
A field or group of fields that are used to relate 2 tables together. WHERE employees.EmployeeId = departments.EmployeeId.
Unique Key
Indicates a field that must store a unique value for each record in the table or else be null.
Index
Is a physical object which is used to speed up processing of query results and is also used to maintain the Primary and Unique Key constraints.
Relationship
Perhaps the most important term in Database Design. The 3 relationship types are One-to-One, One-to-Many and Many-to-Many. Discussed further below.