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 are the advantages of
using these over datatypes?

Answer Posted / nakul.v

%TYPE provides the data type of a variable or a database
column to that variable.

%ROWTYPE provides the record type that represents a entire
row of a table or view or columns selected in the cursor.

The advantages are :
I. Need not know about variable's data type.
II.If the database definition of a column in a table
changes, the data type of a variable changes accordingly.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to pronounce postgresql?

1057


What is online transaction processing (oltp)?

1017


How do I delete a trigger?

966


Why query optimization is needed?

927


what is difference between delete and truncate commands? : Sql dba

1132


What is user in sql?

1021


Is inner join faster than left join?

1190


How to handle bulk data?

1310


What does bitemporal mean?

1066


What language is oracle sql developer?

1018


What is the largest value that can be stored in a byte data field?

1012


How many types of normalization are there?

964


what are the types of subquery? : Sql dba

1105


What is the difference between python and sql?

1001


Can I create table without primary key?

997