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

Is nosql relational?

544


Explain clause in sql?

552


What are the operators used in select statements?

568


What is multiple columns?

567


what are tables and fields? : Sql dba

572






Does view contain data?

610


how can we destroy the session, how can we unset the variable of a session? : Sql dba

539


how to select first 5 records from a table? : Sql dba

505


What is the difference among union, minus and intersect?

539


What is pl sql quora?

638


Explain correlated query work?

583


What are expressions?

559


what are the advantages of sql ? : Sql dba

539


How to order siblings in oracle hierarchy queries?

594


How do you write a subquery?

513