What are the composite date types in oracle?

Answer Posted / sohini

Composite datatypes in Oracle are those which have internal
component.Date,number,character,boolean are Scaler data
types which have no internal Component.there are two types
of Composite datatype:
1.Records: they are used to store dissimpilar data as a
logical unit.E.g if employee is a record then emp
id,salary,department can be its various components which
together form the record.Records can be user defined
records or delared using %rowtype based of row of table or
view.
2.Collections:They again have sub-types as nested
table,index by table and varrays.They are similar to arrays
which are used to store similar data in the form of arrays.

Is This Answer Correct ?    26 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to export data to a csv file?

627


What is a cursor variable?

577


How to define an explicit cursor in oracle?

603


How will you differentiate between varchar & varchar2?

591


Why do we use bulk collect in oracle?

571






Difference between cartesian join and cross join?

543


What are the arithmetic operations?

590


How to create an oracle testing table?

592


What is the difference between pre-select and pre-query?

621


How can I create database in oracle?

572


What is the difference between translate and replace in oracle?

657


Where do you use decode and case statements?

556


Explain alias?

715


What is a subquery?

616


What is BBED in Oracle?

687