Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Database > Oracle
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Oracle General Oracle database discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Oracle section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 19th, 2005, 01:02 PM
Registered User
 
Join Date: Jan 2005
Location: hyd, a.p, India.
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default error mystery

hi oracle lovers
my question is
how can i ignore the error in a pl/sql code and continue with the processing of the code which follows the error line.
i mean to say if there are n statements to be processed and if
i get an error in a line some where in the statement 10 ,i have to ignore the statement 10 and continue with the processing from 11 to n


thr
  #2 (permalink)  
Old February 23rd, 2005, 02:01 PM
Authorized User
 
Join Date: Feb 2005
Location: Chennai, Tamil Nadu, India.
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rockyrak
Default

hi,

Try using Exception block, you will get what you want.



Ram
  #3 (permalink)  
Old February 28th, 2005, 02:28 AM
Authorized User
 
Join Date: Dec 2004
Location: , , India.
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

try,

.......
-- statement no 9
begin
  -- Your statement no 10.
exception
  when others then
  null;
end;
-- Statement no 11.

Sujit Ku. Mahapatra
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
for-each looping - mystery comma return Navy1991_1 XSLT 6 June 5th, 2008 01:52 PM
String Mystery binishkhan87 C# 3 October 6th, 2007 04:19 PM
Chapter 12 uploading mystery Graham Long BOOK: Beginning ASP 3.0 2 March 18th, 2004 04:10 PM
MM:DataSet mystery bridon123 Dreamweaver (all versions) 2 January 12th, 2004 10:44 PM



All times are GMT -4. The time now is 10:43 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.