Re: generate html report using sqlplus

From: <maks71_at_gmail.com>
Date: Tue, 29 Jan 2008 11:28:18 -0800 (PST)
Message-ID: <49a809e9-fd3b-4ca7-b061-ebff507cdf67@v46g2000hsv.googlegroups.com>


On Jan 23, 11:19 am, "fitzjarr..._at_cox.net" <fitzjarr..._at_cox.net> wrote:
> On Jan 23, 7:50 am, mak..._at_gmail.com wrote:
>
>
>
>
>
> > On Jan 17, 11:53 pm, Peter Teoh <htmldevelo..._at_gmail.com> wrote:
>
> > > Using sqlplus, and if u have access to the htp and htf package, it
> > > should be no problem generating HTML, for example, look at the file
> > > $ORACLE_HOME/rdbms/admin/privutil.sql, and search for all the htp.*
> > > function usage, and u can get the idea how it uses htp functions to
> > > generate HTML structure contents.
>
> > > For example:
>
> > >      htp.preOpen;
> > >          htp.prints(translate(text,NL_CHAR,' '));
> > >       htp.preClose;
>
> > > And this:
>
> > >          htp.print('</PRE>');
> > >            htp.p(htf.format_cell(columnValue, format_numbers));
> > >                     htp.tableRowOpen;
> > >                     htp.tableRowClose;
> > >                htp.tableRowOpen;
> > >                htp.tableRowClose;
> > >             htp.formSelectOpen( cname => p_cname,
> > >                   htp.formSelectOption( cvalue => nc_visible,
> > >             htp.formSelectClose;
>
> > > etc.
>
> > Thanks for the valuable tips..
> > where will htp.print will print? On screen? I would like to generate
> > the report on client side as I don't have access to server...- Hide quoted text -
>
> > - Show quoted text -
>
> Most likely on the server, as that is where Oracle DIRECTORY objects
> are defined and I doubt that you have an NFS mount from the db server
> to the client.
>
> David Fitzjarrell- Hide quoted text -
>
> - Show quoted text -

Is there a html tag that retain the output of DBMS_XPLAN.DISPLAY .. i.e. CR, LF, SPACES and TABS as it is.. Received on Tue Jan 29 2008 - 13:28:18 CST

Original text of this message