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 |
Can we interchange parameters in procedure while calling
Write a program that shows the usage of while loop to calculate the average of user entered numbers and entry of more numbers are stopped by entering number 0?
What does the hierarchical profiler does?
Can we create table in function?
Write a query to find five highest salaries from EMP table. (there is a column SALARY)
24 Answers Cap Gemini, iNautix,
What is nested table in pl sql?
what is the maximum length of a table name, database name, and fieldname in mysql? : Sql dba
What is sql scripting?
What will you get by the cursor attribute sql%found?
How do you update f as m and m as f from the below table testtable?
How do you take the union of two tables in sql?
wtite down triggr not any entry on Sunday