1.

What is the purpose of %rowtype data type? Explain with example.

Answer»

It declares a composed variable that is equivalent to the row of a table. After the variable is created, the fields of the table can be accessed, using the name of this variable.

For example

emptype := emp%rowtype;

name := emptype.empname;



Discussion

No Comment Found