Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Commented-out lines in Production
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