GeekInterview.com
Series: Subject:
Question: 66 of 195

Debug Procedure

How to debug a procedure in SQL Prompt
Asked by: av_t66 | Member Since Jan-2008 | Asked on: Jan 7th, 2008

View all questions by av_t66

Showing Answers 1 - 4 of 4 Answers
saurabh4922

Answered On : Jan 10th, 2008

View all answers by saurabh4922

I hope you want to display the errors that Stored Procedure has , for that you can use "SHOW ERROR" command.

This displays the various errors in your procedure with the line numbers.


SAURABH GARG
SAKSOFT

Yes  1 User has rated as useful.
  
Login to rate this answer.
saurabh4922

Answered On : Jan 10th, 2008

View all answers by saurabh4922

I hope you want to display the errors that Stored Procedure has , for that you can use "SHOW ERROR" command.

This displays the various errors in your procedure with the line numbers.

  
Login to rate this answer.
puneet.kush

Answered On : Apr 17th, 2008

View all answers by puneet.kush

You can debug the procedure. Oracle gives a util programme DBMS_DEBUG by which you can debug a procedure.

the full detail you can see at
http://www.oracleutilities.com/wiki/index.php?title=Dbms_debug

and also you can find out the good material at
http://www.unix.org.ua/orelly/oracle/prog2/ch26_01.htm

plsss tell me if it works

  
Login to rate this answer.
srimanta sahoo

Answered On : Oct 4th, 2011

You can debug the procedure by writting following command :
alter procedure procedure name
debug ;

Yes  1 User has rated as useful.
  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.