How will you debug your procedure? If your procedure is
around 2000 lines and the expected output is 10 and we get
only output 5.So how will you debug it?
Somebody pls give the correct answer?

Answer Posted / ravi

You can debug your procedure in various ways:
1: If you are using tools like Toad, PL/SQL or SQL Developer, you can place the breakpoints in the procedure and then debug the same by using step into steps.
2: If you are using SQ*Plus, you need to place DBMS_OUTPUT for messaging and trace the same.
3: You can put the trace log on in the database server and can check the trace files.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is %type in sql?

690


what is the difference between truncate and delete statement? : Transact sql

765


Which tcp/ip port does sql server run on? How can it be changed? : Sql dba

652


What is sap sql anywhere?

678


What are the different types of joins in sql?

1131






Explain the select statement in sql?

819


What does subquery mean in sql?

735


what are the properties and different types of sub-queries? : Sql dba

699


How much does sql certification cost?

740


How does stored procedure reduce network traffic?

730


what is the difference between a web-garden and a web-farm? : Sql dba

749


how to use like conditions? : Sql dba

770


What is cursor status?

927


Can you call pl/sql package functions from within a fast formula?

767


What is the difference between sql and t sql?

711