nøgletype
Nøgletype is a term used in Danish information management and database design to describe the category or function of a key used to identify records within a dataset or relational table. It is a metadata concept that helps describe how a key participates in data integrity and relationships.
Common nøgletype categories include primærnøgle (primary key), fremmednøgle (foreign key), kandidatløgle (candidate key), unik nøgle (unique
In practice, nøgletype is documented in data dictionaries and entity-relationship diagrams to record the intended role,
Example: In a customer database, CustomerID is the primærnøgle of the Customer table, while CustomerID in the
See also: database design, data dictionary, relational model, metadata.