Every parameter, variable and constant has a data type that describes dimensional values, constraints, storage format and auxiliary operations that can be performed on it. Subtypes and predefined data types will be provided by PL/SQL, and users can define any number of sub types in
PL/SQL.
A subtype contains the operation similar to its base type, but only a subset of its value. A subtype is the subset of another datatype, which is called as
base type. Sub types can provide compatibility with ISO/ANSI types, and upgrade the reliability by announcing the intended use of variables and constants. PL/SQL constants, parameters and variables should contain valid data types to determine a particular range of values, constraints and storage format. The different types of PLSQL Data Types are scalar, large object(LOB), composite and reference.
Scaler functions contain exceptional values that do not contain any interior elements such as date/boolean and number.
Large objects focus on expansive objects, and these extensive items are put independently from other informational items like realistic images, sound wave, text and video clips.
The interior parts of informational items can be achieved independently such as records and collections.
Gives reference to different informational items.