What are the composite date types in oracle?

Answer Posted / richa

In pl/sql we have two types of datatypes
1. scalar
2. composite.

In scalar u can store only one value at a time and
ex is a number(10),name char(1) etc.

While in Composite u can store whole row mean if one row
have 3 columns so u can store 3 values in a composite
datatype variable at a time.
Ex. emp employees%rowtype ;
Mean if enployees have 3 columns so in variable emp u can
store 3 values of 3 columns at a time .

Is This Answer Correct ?    11 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens if the imported table already exists?

549


What is the difference between a primary key & a unique key?

590


How to create a single index for multiple columns?

564


What is a lookup table in oracle?

543


Explain oracle left join with an example?

589






How to assign query results to variables?

594


How to rename a column in an existing table?

619


How can we find out the duplicate values in an oracle table?

613


How can you use check constraints for self referential integrity?

526


How to convert a date to char in oracle? Give one example.

591


What is the parameter mode that can be passed to a procedure?

577


How to define a record variable to store a table row?

579


Difference between open_form and call_form in oracle.

684


Can we call procedure inside function in oracle?

614


what is the difference between data migration and production migration.

1813