What are % TYPE and % ROWTYPE ? What are the advantages of
using these over datatypes?

Answer Posted / manoj

"%Type" :-It reffer one datatype which take
data type of a column in table,
Previously defined variable(Anchor type)

"%Rowtype" :-Have all type Refered May be for
Table,
Cursor,
Ref Cursor,
curor variable etc.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What packages(if any) has oracle provided for use by developers?

5043


How to use boolean type in select statement?

592


What are few of the schema objects that are created using PL/SQL?

568


What are the ways on commenting in a pl/sql code?

520


what is a database? : Sql dba

612






Hi how to import oracle sequence in Informatica? Please write stored procedure code that will import oracle sequence in Informatica SP transformation as per below scenario Oracle table product list Pro_id, pro_name 101, LED Lights. 102, 20watt CFL Lights. 103, 30 watt CFL lights Now a new flat file with new product list needs to be added to oracle table product list with oracle sequence. flat file product Prono,pro_name, 1, 20 watt tube light 2, 30 watt tube light & target should be like 101, LED Lights. 102, 20watt CFL Lights. 103, 30 watt CFL lights. 104, 20 watt tube light 105, 30 watt tube light thks reg suvarna joshi suvarnaatsuvarna@rediffmail.com

2078


what is a database lock ? : Sql dba

601


How do you rename a table in sql?

541


What is a common use of group by in sql?

601


table structure: ---------------- col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10 01-mar-2012 11:12:46 01-mar-2012 11:11:23 Write a query to display the result as shown below: col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10

3361


What is the difference between distinct and unique in sql?

482


What company owns postgresql?

570


Define union, minus, union all, intersect ?

560


Why do we use sql constraints?

668


what is sql? : Sql dba

566