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

State some properties of relational databases?

576


How do I run sql profiler?

580


Is left join same as join?

514


Define overloaded procedure?

618


How many times can we commit in a loop?

564






What does fetching a cursor do?

610


What is sql query limit?

506


what is a foreign key ? : Sql dba

602


What is a primary key example?

509


What is write ahead logging in sql server?

554


Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me

1553


ERROR:Insert or update on table"accnt" violates foreign key constraints "acct_to_curr_symbol" DETAILS:KEY(accnt_curr_id)(-2)is not present in the table "curr_symbol" ......solve The Problem..

2001


What are types of joins?

530


What are different types of keys?

517


What is user in sql?

571