• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Question about cursor as stored procedure parameter

 
Ranch Hand
Posts: 209
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm encountering similar code as this



I understand (1), but can someone explain the meaning of declaration (2)?

A procedure which uses the above as a parameter.

A few questions:
What does (3) mean?
Since the cursor is declared as a package public/global object, is it true that I cannot/should not concurrently run this procedure?
What is a better way to write this?
[ February 23, 2007: Message edited by: Chu Tan ]
 
Ranch Hand
Posts: 1228
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I understand (1), but can someone explain the meaning of declaration (2)?



Ref cursors are used for returning record sets from a stored procedure.
reply
    Bookmark Topic Watch Topic
  • New Topic