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 does the hierarchical profiler does?

755


Why should I use postgresql?

763


How do you select unique values in sql?

708


What is the difference between subquery and correlated query?

724


Which join is like an inner join?

718






where are cookies actually stored on the hard disk? : Sql dba

786


How to generate a salary slip like jan 1000 1000 feb 1000 2000 ... dec 1000 12000

1893


explain the difference between bool, tinyint and bit. : Sql dba

709


How many types of sql are there?

719


what is a composite primary key ? : Sql dba

782


how are mysql timestamps seen to a user? : Sql dba

773


What is the file extension for sql database?

671


What is update query?

711


Explain autonomous transaction.

843


What is a temporal table?

666