Unix Technical Forum

cursor or exception

This is a discussion on cursor or exception within the Oracle Miscellaneous forums, part of the Oracle Database category; --> Hi, a collega used frequently a begin, select ... and exception when no_data_found. I am used to use a ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database > Oracle Miscellaneous

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 08:25 AM
ron.van.der.zwaag@abp.nl
 
Posts: n/a
Default cursor or exception

Hi,

a collega used frequently a begin, select ... and exception when
no_data_found. I am used to use a cursor with %notfound to check is a
record is found.

The question is, does anyone knows what is better to do??

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2008, 08:25 AM
Michel Cadot
 
Posts: n/a
Default Re: cursor or exception


<ron.van.der.zwaag@abp.nl> a écrit dans le message de news: 1135765418.178154.302390@g43g2000cwa.googlegroups. com...
| Hi,
|
| a collega used frequently a begin, select ... and exception when
| no_data_found. I am used to use a cursor with %notfound to check is a
| record is found.
|
| The question is, does anyone knows what is better to do??
|

Imho, the one that is easier to read and maintain in your code.

Regards
Michel Cadot


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:15 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com