What is the query to find nth highest salary?
What is the use of cursors?
Answer Posted / ram
1. nth highest salary
-> select *from emp e where &n =(select count(distinct sal)
from emp m where e.sal <= m.sal);
2. -> Cursor.
When a query is executed in oracle, a result set is
produced and stored in the memory. Oracle allows the
programmer to access this result set in the memory through
cursors.
use a cursor?
Many times, when a query returns more than one row as a
result, we might want to go through each row and process
the data in different way for them. Cursor is handy here.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is intricate mapping?
How can we update a record in the target table without using update strategy?
What is native users?
What is source qualifier transformation in informatica?
What is the difference between SOURCE and TARGET BASED COMMITS? What are the deliverables?in your project?
differences between service based and product based?
Write the prerequisite tasks to achieve the session partition?
What are the tasks that can be performed using sq?
How to call shell scripts from informatica?
which one is better performance wise joiner or look up
Briefly define reusable transformation?
Can u generate reports in Informatica?
Separate from a database, an information bazaar, and an information stockroom?
Hi, There is a session in my workflow which is running for a long time, atlast we found the cause is the missing index. My session is running via a stored procedure. Can I create an Index on the table which the stored procedure is using while my session is running? Please suggest. My Informatica version is PC 8.0.6 My Oracle APPS is 11.5.3. Thanks,
Where is metadata stored?