Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Debugging scripts

Re: Debugging scripts

From: Pete Finnigan <plsql_at_petefinnigan.com>
Date: Fri, 13 Feb 2004 21:46:46 +0000
Message-ID: <gq8YCbBGXULARxs3@peterfinnigan.demon.co.uk>


Hi

Have a look at dbms_output. For dbms_output you should do

SQL> set serveroutput on size 1000000

in sqlplus first and then in your pl/sql add lines of the format:

dbms_output.put_line('This is a trace message'); dbms_output.put_line('This is a value '||v_counter);

hth

kind regards

Pete

-- 
Pete Finnigan
email:pete_at_petefinnigan.com
Web site: http://www.petefinnigan.com - Oracle security audit specialists
Book:Oracle security step-by-step Guide - see http://store.sans.org for details.
Received on Fri Feb 13 2004 - 15:46:46 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US