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?

Answers were Sorted based on User's Feedback



What are % TYPE and % ROWTYPE ? What are the advantages of using these over datatypes?..

Answer / swapna

"% Type "is used to extract definition of the column of a
table.

"%Rowtype" is used to extract definition of the columns of
all columns.

Is This Answer Correct ?    6 Yes 1 No

What are % TYPE and % ROWTYPE ? What are the advantages of using these over datatypes?..

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

What are % TYPE and % ROWTYPE ? What are the advantages of using these over datatypes?..

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

What are % TYPE and % ROWTYPE ? What are the advantages of using these over datatypes?..

Answer / manoj

"%Type" :-It reffer one datatype which take
data type of a column in table,
Previously defined variable(Anchor type)

"%Rowtype" :-Have all type Refered May be for
Table,
Cursor,
Ref Cursor,
curor variable etc.

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More SQL PLSQL Interview Questions

What is the difference between inner join and natural join?

0 Answers  


what is the purpose of update command in oracle?

7 Answers   MBT,


What is database white box testing and black box testing?

0 Answers  


What is information schema in sql?

0 Answers  


What is difference between cursor and trigger?

0 Answers  


What are the datatypes available in pl/sql ?

0 Answers  


Explain what is sql?

0 Answers  


Does inner join remove duplicates?

0 Answers  


How delete all records from table in sql?

0 Answers  


What is a pragma statement?

0 Answers  


What are inner outer left and right joins in sql?

0 Answers  


Is sql between inclusive?

0 Answers  


Categories