What is difference between % ROWTYPE and TYPE RECORD ?
Answers were Sorted based on User's Feedback
Answer / suresh kumar somayajula
%ROWTYPE is to be used whenever query returns a row of
Database Table.
RECORD TYPE is to be used whenever query returns a columns
of different Tables.
Eg : TYPE <TYPE_NAME> IS RECORD (Name Varchar2,
No Number);
Thank you,
Suresh
Is This Answer Correct ? | 15 Yes | 4 No |
Answer / sohail
The %ROWTYPE attribute provides a record type that
represents a row in a table.
Create Type is used to create a type with multiple
variables and is stored in the database.
Is This Answer Correct ? | 9 Yes | 2 No |
Write a query to genarate target column.Please answer me. Advance Thanks. Src Tgt Q10 Quarter to 2010 Q90 Quarter to 1990 Q80 Quarter to 1980 Q74 Quarter to 1974
in table there r so many rows write a query which two rows r updated last two day befor?
how to do backup entire database? : Transact sql
Is progress software supports to ( pl/sql )?
What is %rowtype in pl sql?
what is meant by forward declaration in functions?
How can a pl sql block be executed?
Explian rowid, rownum?
What are different types of functions in sql?
Define implicit and explicit cursors.
What is before and after trigger?
how to shutdown mysql server? : Sql dba