Reputation: 43
While studying for my IT exam I came across the following sentence:
"A collection of fields that store information about a certain entity, is a record. A record is a whole row of fields."
..but I have always thought that the correct term for an "object" in a database is an "entity".
So is the correct term an "entity" or a "record"? Or are they the same?
Upvotes: 4
Views: 9502
Reputation: 1
I would say that an entity concept is physicalised by 1 or more tables e.g.
Upvotes: 0
Reputation: 9138
An entity is defined as “something that exists as a particular and discrete unit.” In terms of identity management, an entity is the logical relationship between two or more records. [...] An entity is also called a “linkage set.” There can be an unlimited number of records in an entity or linkage set. Source
Along these lines, an entity can be a set of records in a table or even across different tables.
Upvotes: 0
Reputation: 780655
In that sentence, entity
doesn't refer to anything in the database. It's using entity
to refer to a conceptual object, whatever thing in the real world the database record represents. For instance, if you have an inventory database, each row stands for a product in the warehouse, and that's the entity.
Upvotes: 8