attribute domain

Uses your system voice; voice and rate in settings.

Q4818714Snapshot

≈ 2 min read

Names in other languages

  • Englishattribute domain
  • nbattributtdomene
  • nnattributtdomene

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

In computing, the attribute domain is the set of values allowed in an attribute. For example: Rooms in hotel (1–300) Age (1–99) Married (yes or no) Nationality (Nepalese, Indian, American, or British) Colors (Red, Yellow, Green) For the relational model it is a requirement that each part of a tuple be atomic. The consequence is that each value in the tuple must be of some basic type, like a string or an integer. For the elementary type to be atomic it cannot be broken into more pieces. Alas, the domain is an elementary type, and attribute domain the domain a given attribute belongs to an abstraction belonging to or characteristic of an entity. For example, in SQL, one can create their own domain for an attribute with the command CREATE DOMAIN SSN_TYPE AS CHAR(9); The above command says: "Create a datatype SSN_TYPE that is of character type with size 9".

In computing, the attribute domain is the set of values allowed in an attribute. For example: Rooms in hotel (1–300) Age (1–99) Married (yes or no) Nationality (Nepalese, Indian, American, or British) Colors (Red, Yellow, Green) For the relational model it is a requirement that each part of a tuple be atomic. The consequence is that each value in the tuple must be of some basic type, like a string or an integer. For the elementary type to be atomic it cannot be broken into more pieces. Alas, the domain is an elementary type, and attribute domain the domain a given attribute belongs to an abstraction belonging to or characteristic of an entity. For example, in SQL, one can create their own domain for an attribute with the command CREATE DOMAIN SSN_TYPE AS CHAR(9); The above command says: "Create a datatype SSN_TYPE that is of character type with size 9".

References

Text derived from https://en.wikipedia.org/w/index.php?oldid=1213390067 under CC BY-SA 4.0; modifications have been made.

Provenance

snapshot attribute-domain-550387-ef90a7967307098f · hash ef90a7967307098ff3910f690d88677eb8c3010e1d07d5e2a2b156de1d6e43f2 · captured 1710268017.0 · version history

Cite this page as: encyclopegia.org, “attribute domain”, snapshot attribute-domain-550387-ef90a7967307098f. https://encyclopegia.org/a/attribute-domain

Sources cited in this revision

No external citation was extracted for this revision. That is a statement about the source, not a claim that none exists.