Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2012
    Posts
    28

    Unanswered: creating procedures

    hi, i am new to DB2. i was using oracle before. I would like to know how to create a procedure which has a cursor in it using a command line processor. thanks

  2. #2
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    look in the samples directory below sqllib.. many exists..
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified
    http://www.infocura.be

  3. #3
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    Quote Originally Posted by masood313 View Post
    hi, i am new to DB2. i was using oracle before. I would like to know how to create a procedure
    DB2 9.7 and higher has an Oracle compatibility mode, using which you can create stored procedures the same way you'd do it in an Oracle database.

Posting Permissions

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