what are %TYPE and %ROWTYPE? what is the difference?

Answer Posted / hjhjnj

Column Type (i.e. %TYPE) is used to declare a field with the same type as that of a specified table’s column

Row type (i.e. %ROWTYPE) is used to declare a record with the same types as found in the specified database table, view or cursor

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is foreign key and example?

519


What is function and procedure in pl sql?

523


What are reports usually used for?

568


What is sqlite format?

633


What is sql partition function?

620






Can I create table without primary key?

531


What is trigger in pl sql?

562


What is a common use of group by in sql?

592


Mention what does the hierarchical profiler does?

562


Why is %isopen always false for an implicit cursor?

570


Why functions are used in sql?

513


what is user defined functions? : Sql dba

552


What is sql trigger example?

543


what is uncommittable transactions? : Transact sql

570


What do you understand by case manipulation functions?

547