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

What is example of database?

1053


What is sqlexception in java?

987


how to use case expression? : Sql dba

1022


What is the difference between unique and primary key constraints?

1069


What is partition in sql query?

998


Why is sharding used?

993


What is data manipulation language?

1187


Can we call stored procedure in function?

957


What is a database event trigger?

1159


what are the differences between get and post methods in form submitting. Give the case where we can use get and we can use post methods? : Sql dba

1127


Which are the different types of indexes in sql?

1057


How do you modify a trigger?

926


How do I find duplicates in sql?

929


What are the commands used in sql?

1077


What are basic techniques of indexing?

1384