Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / pavan_1981

these two are used with cursors to store the returing
result from the query.
%TYPE:a variable is declared to be of %type when we are
referring to a single specific column.when we declare a
variable to be of %type of a column,the variable datatype
becomes the datatype of that column..here it can only one
datatype that of the column.

%ROWTYPE:same as above but takes a single row at a time and
can accomidate multiple datatypes.it can store whole row at
a time containing different datatypes.

Is This Answer Correct ?    83 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where not exists in sql?

1032


What is the purpose of the primary key?

1117


how many values can the set function of mysql take? : Sql dba

1034


What does the file extension accdb stand for?

1015


How many sectors are in a partition?

1117


What is the difference between cluster and non-cluster index?

1157


How is a process of pl/sql compiled?

1236


Which command is used to call a stored procedure?

1050


What is foreign key in sql with example?

974


what is the command line end user interface - mysql? : Sql dba

1028


What are different joins used in sql?

1106


What sql does db2 use?

1028


What is right join sql?

1013


How many row comparison operators are used while working with a subquery?

1073


What are pl sql data types?

1056