Oracle SQL,PL/SQL

What is The %ROWTYPE Attribute in PL/SQL?

RowType
Written by shohal

The %ROWTYPE attribute provides a record type that represents a row in a database table. The record can store an entire row of data selected from the table or fetched from a cursor or cursor variable.

Example:

%ROWTYPE pick the value as declare %type.

Explanation About Example :

So we see 2 line (emp_id employees.employee_id%type) their % means emp_id column as similar employee_id and employees is table name. Alternate way we can say that % Rowtype is work as copy past type.

About the author

shohal

I have profession and personal attachment with custom ERP Software development, Business Analysis, Project Management and Implementation almost (36) ,also Oracle Apex is my all-time favorite platform to developed the software. Moreover i have some website development experience with WordPress. For hand on networking experience DevOps and CCNA, it create me a full package. Here are some core programming language with networking course i have been worked: Oracle SQL ,PL/SQL,Oracle 19c Database , Oracle Apex 20.1,WordPress,Asp.Net ,MS SQL ,CCNA ,Dev Ops, SAP SD

Leave a Comment