• Post Reply Bookmark Topic Watch Topic
  • New Topic

Cursors in a procedure

 
Gireesh Mulage
Ranch Hand
Posts: 44
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use an if statement?
 
Gireesh Mulage
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Paul . I got it .
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!