This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills: The software developer's life manual and have John Sonmez on-line!
See this thread for details.
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cursors in a procedure

 
Gireesh Mulage
Ranch Hand
Posts: 44
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI All,

In the DB procedure , how do I can call 2 different cursors depending on one condition ?

The condition can be any string like 'abc' or 'bcd'......

Thanks
Gireesh Mulage
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use an if statement?
 
Gireesh Mulage
Ranch Hand
Posts: 44
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Paul . I got it .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic