Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Embedded Cursors

Posted on 2004-09-01
6
Medium Priority
?
560 Views
Last Modified: 2006-11-17
Is it possible to have cursors within cursors in Mainframe DB2 ? Is this the same as Scrollable cursors ? If cursor in curor is possible, where can i get more info about it ? Thanks.
0
Comment
Question by:hellomdp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
6 Comments
 
LVL 3

Expert Comment

by:lwilkin7
ID: 11957191
What do you mean by cursor within a cursor?

You can open multiple cursors at one time.  For ex., you can open cursor1, fetch a row, open cursor2 based on the row fetched from cursor1, nest the loops, etc.

Lloyd
0
 

Author Comment

by:hellomdp
ID: 11958370
No. I have used multiple cursors, and that concept is fine.

An analogy, SUBSELECT ===> This is a SELECT within a SELECT. Similarly, Can we have a cursor within a cursor ?

Thanks,
hellomdp.
0
 
LVL 3

Accepted Solution

by:
lwilkin7 earned 300 total points
ID: 11958403
No, you cannot have a cursor within a cursor.

Lloyd
0
 

Author Comment

by:hellomdp
ID: 11960806
ok...thanks.
0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

November 2009 Recently, a question came up in the DB2 forum regarding the date format in DB2 UDB for AS/400.  Apparently in UDB LUW (Linux/Unix/Windows), the date format is a system-wide setting, and is not controlled at the session level.  I'm n…
Recursive SQL in UDB/LUW (you can use 'recursive' and 'SQL' in the same sentence) A growing number of database queries lend themselves to recursive solutions.  It's not always easy to spot when recursion is called for, especially for people una…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question