DB2 Store Procedure Using Fetch Cursor

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • humnova
    New Member
    • Jan 2008
    • 1

    DB2 Store Procedure Using Fetch Cursor

    hi,
    can anybody send me a exampale of script of DB2 (AS/400) Store Procedure using Declare/Open/Fetch Cursor
    thanks
  • sakumar9
    Recognized Expert New Member
    • Jan 2008
    • 127

    #2
    Originally posted by humnova
    hi,
    can anybody send me a exampale of script of DB2 (AS/400) Store Procedure using Declare/Open/Fetch Cursor
    thanks

    You can refer to samples present in SQLLIB/samples/sqlproc. In this directory, you will find many SPs that uses cursors and FETCH SELECTS.

    Regards
    -- Sanjay

    Comment

    Working...