Scalar data type: – A scalar data type holds a single value and has no internal components. Scalar data types can be classified into four different categories such as number, character, data and Boolean. Character and number data type have sub types that associates a base type to a constraint. For example, integer and positive are based type of the number.