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 / nishi

%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 ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are enums used for in mysql? : Sql dba

1170


What is anonymous block in sql?

1120


What is cursor in pl sql?

1116


Explain the order of sql statement execution?

1045


What is sql basics?

1042


What does the hierarchical profiler does?

1058


What are local and global Indexes and where they are useful.

1443


i have some prob lem to tell me about my self in interview first round ...

2163


define sql insert statement ? : Sql dba

1028


explain what is mysql? : Sql dba

1080


How do I make my sql query run faster?

941


What is auto increment feature in sql?

1123


What are sql procedures?

1023


Explain the purpose of %type and %rowtype data types with the example?

994


What is the difference between clustered and non-clustered indexes?

1092