Differentiate between %type and %rowtype attribute in
Oracle PL/AQL programming ?

Answer Posted / madhuri

%type and %rowtype provides data independence,reduces
maintainance cost and allows programs to adapt as the
database changes due to new business requirements.

%rowtype is used to declare a record with the same types as
found in the specified database table,view or a cursor.

%type is used to declare a field with the same type as found
in the specified table's column.

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is %type in sql?

691


How many types of normalization are there?

665


What is the use of count (*) in sql?

750


GLOBAL TEMPORARY TABLE over Views in advantages insolving mutating error?

2760


What is compilation error in pl sql?

694






What does cursor do in sql?

712


What is union, minus and interact commands?

934


What is full join in sql?

713


What is synonyms?

769


what is the different between now() and current_date()? : Sql dba

701


How do I send sql query results to excel?

767


What is composite data type in pl sql?

766


What is the best partition size for windows 10?

704


What is a table partition?

785


What are its different types of dbms?

713