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 difference between delete and truncate commands? : Sql dba
How to come back in normal stage in Mutating Table if mutating table is locked or update data?
Which data type is a composite type?
Is json a nosql?
Is sql better than excel?
how to create user in sql and how to set password for that?
What is column?
I have a tablle like this: cust acc ----------- a 1 b 2 b 3 c 4 c 5 c 6 I Want below o/p: cust acc --------------- a 1 b 2|3 c 4|5|6 Please any one can you have any ideas share me. I have urgent requirement.
what is the purpose of update command in oracle?
Explain how to use transactions efficiently : transact sql
What is 19 null in sql?
How consistent is the view of the data between and within multiple sessions, transactions or statements ?