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

Home -> Community -> Usenet -> c.d.o.server -> Re: Commented-out lines in Production

Re: Commented-out lines in Production

From: Andreas Piesk <a.piesk_at_gmx.net>
Date: 4 Dec 2006 15:06:14 -0800
Message-ID: <1165273574.661941.281270@80g2000cwy.googlegroups.com>


klabu schrieb:

> should prod code have commented-out lines like :
>
> -- dbms_output.put_line( balhblah);
>
> all over the place ?

no, as others already said there are better ways to do it. on 10g i use compilerflags:

$IF $$debug $THEN
dbms_output.put_line( balhblah);
$END ALTER PACKAGE bla COMPILE PLSQL_CCFLAGS = 'debug:true' REUSE SETTINGS;

regards,
-ap Received on Mon Dec 04 2006 - 17:06:14 CST

Original text of this message

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