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

Answer Posted / vikneswaran

%type is used to declare variable for one column in the table
%type is used to declare variable for entire table

Is This Answer Correct ?    7 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are stuff and replace function?

566


What are the different types of triggers?

585


Can you call pl/sql package functions from within a fast formula?

560


How many commands are there in sql?

542


Why do we use subquery?

481






What is a crud api?

493


What is optimistic concurrency control? : Transact sql

540


What is a primary key sql?

557


What is the difference between a primary key and a clustered index?

517


how can we know the number of days between two given dates using mysql? : Sql dba

537


What is cross join example?

544


What are database links used for?

588


Does inner join remove duplicates?

515


Can we use two order by clause in query?

540


How to convert comma separated string to array in pl/sql?

591