Differentiate between %type and %rowtype attribute in
Oracle PL/AQL programming ?

Answer Posted / kirankumar.vangeti

%ROWTYPE is used to declare a record with the same types as
found in the specified database table, view or cursor

%TYPE is used to declare a field with the same type as that
of a specified table's column.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which are the different case manipulation functions in sql?

535


Can we use ddl commands in pl sql?

554


What are the three pl sql block types?

571


Explain the working of foreign key?

542


What is compilation error in pl sql?

504






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

1638


Explain what is table in a database?

577


what is an alias command? : Sql dba

544


What is sql rowcount?

554


What is the difference between cross join and natural join?

564


Can we use join in subquery?

565


what is not null constraint? : Sql dba

544


What are all different types of collation sensitivity?

523


What is gpt format?

503


What is clustered and nonclustered index in sql?

495