Geeks Talk

Prepare for your Next Interview




Errors after compilation

This is a discussion on Errors after compilation within the Oracle forums, part of the Databases category; Hai, When we compile a procedure, if there is any error, it shows "Warning: Procedure created with compilation errors." We have to type explicitly, "show errors" in order to see ...


Go Back   Geeks Talk > Databases > Oracle

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 01-11-2007
Junior Member
 
Join Date: Jan 2007
Location: Chennai
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Bhuvana07 is on a distinguished road
Errors after compilation

Hai,

When we compile a procedure, if there is any error, it shows "Warning: Procedure created with compilation errors." We have to type explicitly, "show errors" in order to see the errors. Is there any way that the errors are shown implicitly after compilation?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-11-2007
Expert Member
 
Join Date: Dec 2006
Location: Chennai
Posts: 197
Thanks: 2
Thanked 16 Times in 14 Posts
Barbie is on a distinguished road
Re: Errors after compilation

It wont show errors during compilation. it will create procedure with errors.
there is no other way too. (other than show errors)

but when you execute that procedure, it will shows those error.
Reply With Quote
  #3 (permalink)  
Old 02-08-2007
Contributing Member
 
Join Date: Jan 2007
Location: Bangalore
Posts: 32
Thanks: 1
Thanked 6 Times in 5 Posts
raghav_sy is on a distinguished road
Re: Errors after compilation

hi,
Really a good question. weel there is not a permanent solution. but u can do one thing, after the END stmnt. of procedure give a forward slash, and then write show err; and again give forward slash. and then compile the whole fiel, if some error is there it will display errors.

--write code here--
end procedure_name;
/
show err;
/

now compile whole file.

regards,
RSY
Reply With Quote
  #4 (permalink)  
Old 02-14-2007
Junior Member
 
Join Date: Jan 2007
Location: Chennai
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Bhuvana07 is on a distinguished road
Re: Errors after compilation

This looks better.
Thanks Raghav!!!

---------
Bhuvana
Reply With Quote
  #5 (permalink)  
Old 02-14-2007
Contributing Member
 
Join Date: Jan 2007
Location: Bangalore
Posts: 32
Thanks: 1
Thanked 6 Times in 5 Posts
raghav_sy is on a distinguished road
Re: Errors after compilation

hi,

Bhuvana, click on the thanks button if u want to say thanks, that will add to my reputation.

ok, and one more thing, if u are using the suggestion which i gave, in real time, then remember one thing, i.e. to delete the show err; code from the file, before doing the checkin to the version control.

ok, do not forget this.

regards,
RSY
Reply With Quote
Reply

  Geeks Talk > Databases > Oracle


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
What is Just-In-Time (JIT) compilation GeekAdmin VB.NET 1 12-12-2007 06:43 AM
Find errors in SQR JobHelper PeopleSoft 1 01-26-2007 03:56 PM
Compilation error JobHelper SQL 0 11-28-2006 09:37 AM
Log of all errors sripri Web Design 0 08-03-2006 04:07 PM


All times are GMT -4. The time now is 01:07 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved