Tech moves fast! Stay ahead of the curve with Techopedia!
Join nearly 200,000 subscribers who receive actionable tech insights from Techopedia.
In relational databases, a record is a group of related data held within the same structure. More specifically, a record is a grouping of fields within a table that reference one particular object. The term record is frequently used synonymously with row.
For example, a customer record may include items, such as first name, physical address, email address, date of birth and gender.
A record is also known as a tuple.
Tables contain columns and rows that, to simplify, are similar in structure to Microsoft Excel. Relational tables have a very similar but more complex structure, as each table column represents a certain table property.
Let's say there is a table named CUSTOMER_MASTER, which stores basic customer data. It might contain a CUSTOMER_SURNAME column, which is used to store customer surnames. This column may have certain parameters, e.g., each surname must be 30 characters or less and only comprised of alphabetical characters. Thus, each customer surname added to the CUSTOMER_MASTER table must meet these parameters.
However, each complete customer row or record also includes other items, such as first name, physical address, email address, date of birth and gender, etc. Each item is categorized into its designated corresponding column. Thus, each customer row or record is one horizontal line of data that holds a collection of items.