Records are used for related bits of information. Records are composite datatypes, it is a combination of different scalar datatypes like char, varchar, number ,integer etc. Each scalar data types in the record holds a value. A record can be visualized as a row of data. It can contain all the contents of a row.
// First we have to declare the record,
DECLARE
TYPE emp_person IS RECORD ( first_name VARCHAR2(30), last_name VARCHAR2(30), age NUMBER, salary NUMBER );
-- we have to declare a variable (v_person ) of that type (emp_person)
v_person emp_person;
BEGIN
-- Then we can assign values to the variable.field name