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

Answer Posted / debasis dutta

%type is associates a variable with column data of a table..
ex..
empno emp_mast.eno%type;
%rowtype is associates a variable with whole table data of
a database..
ex
tot emp_mast%rowtype;

Is This Answer Correct ?    13 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are sql indexes?

537


Do we need to rebuild index after truncate?

520


Is oracel sql developer written in java?

638


How many types of literals are available in pl sql?

506


what is clause? : Sql dba

569






How does sql*loader handles newline characters in a record? : aql loader

580


Can we commit in trigger?

541


What are different categories of sql commands?

628


What is a schema sql?

520


Why we use join in sql?

519


What is difference between group by and partition by?

488


What is foreign key in sql with example?

504


How do I find duplicates in two columns?

544


What are triggers and its uses?

587


What schema means?

515