Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2007
    Posts
    56

    Unanswered: Stored procedure

    V9 for Z/os

    Is it possible to use two distinct cursors within one stored procedure?

    Thanks

  2. #2
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    I guess that depends on your definition of "use".

  3. #3
    Join Date
    Aug 2007
    Posts
    56
    Quote Originally Posted by n_i View Post
    I guess that depends on your definition of "use".
    declare (for), open, fetch into (while), close

  4. #4
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    Yes, that is definitely possible.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •