how to debugg a procedure or package using
dbms_output.put_line in plsql



how to debugg a procedure or package using dbms_output.put_line in plsql..

Answer / bunty

dbms_output.put_line can be used in Packages, Procedures or
triggers to display message or variable values which can be
used as debugging tool.

Cheers,
Bunty

Is This Answer Correct ?    12 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

What is mutating table?

11 Answers   Saama Tech,


what is log shipping? : Sql dba

0 Answers  


Explain the difference in execution of triggers and stored procedures?

0 Answers  


What is the difference between sql, mysql and sql server?

0 Answers  


Dear All, Question for this Week Find out possible error(s) (either at compile time or at runtime) in the following PL/SQL block. State the reason(s) and correct the errors. Declare Cursor C1 is select ename, sal, comm from emp; Begin For i in C1 Loop If i.comm between 299 and 999 then Dbms_output.put_line(i.Ename || ‘ ** Good Commission’); Elsif i.comm > 999 then Dbms_output.put_line(i.Empno || ‘ ** Very Good Commission’); close C1; Else Dbms_output.put_line(i.Ename || ‘ ** ’ ||nvl(i.comm,‘O’)); End if; End Loop; End;

7 Answers   Accenture,






define join and explain different type of joins? : Sql dba

0 Answers  


i have a table t1 a math 20 b phy 30 cchemisty 10 a math 40 b phy 23 c che 21 a math15 bphy 33 c che 56 write a quire to find out the max markr of each subject

8 Answers  


What is difference between ms sql and mysql?

0 Answers  


What is the best sql course?

0 Answers  


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?

2 Answers   Fidelity,


What is record variable?

0 Answers  


Explain lock escalation? : Transact sql

0 Answers  


Categories