What is a Data Type?

Definition

In the simplest terms, a Data Type is the constraint on a data element. It defines the type of data held within the data element. For example, the data element Date of birth is associated with the data type xs:date, which only allows for the input of data in the YYYY-MM-DD format.

Common Data Types

  • Integer

  • String

  • Floating point

  • Character

  • Boolean

  • Enumerated

  • Date

  • Time

Related Articles