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 |
what is the different between unique+not null & primary key,
What is the different between Stored Procedure and Procedure?
how u can find the n row from a table?
how to delete duplicate rows from a join tables(I have three tables on that join) how do you know which join is need to be used? The select statement I have is: SELECT gc_skill_type.skill_type, gc_area_tec.area, gc_technology.technology, gc_technology.id_technology, gc_area_tec.id_area_tec FROM gc_skill_type, gc_area_tec, gc_technology WHERE gc_area_tec.id_skill_type (+) = gc_skill_type.id_skill_type AND gc_technology.id_area_tec (+) = gc_area_tec.id_area_tec order by gc_skill_type.skill_type asc, gc_area_tec.area asc, gc_technology.technology asc
Explain the insert into statements in sql?
Enlist some predefined exceptions?
what is auto increment? : Sql dba
Is there a 64 bit version of ssms?
Is sqlite thread safe?
what is the forward decleration in packages?
what is the bond code in materialized view?
What are the different schemas objects that can be created using pl/sql?