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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Sqlplus and HTML

RE: Sqlplus and HTML

From: Browett, Darren <dbrowett_at_coquitlam.ca>
Date: Fri, 02 Jan 2004 13:34:25 -0800
Message-ID: <F001.005DB854.20040102133425@fatcity.com>


Works like a charm !

Thanks

Darren

-----Original Message-----
Sent: Friday, January 02, 2004 12:09 PM
To: Multiple recipients of list ORACLE-L

Browett, Darren wrote:

> Happy new year to all !.
>
> I am trying to create some html reports using set markup html, and
have
> one question,
> when doing a select col1,col2 ... from some_table, I would like the
field
> names to be a
> different colour/shade.
>
> Is that possible doing style sheets. I did find some doc's that
showed
> the fields names being
> shaded, but they didn't show how to do it.
>
> Any code or links would be appreciated.
>
> Thanks

Edit the following:

SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON - HEAD '<TITLE>page title</TITLE> -
<STYLE type="text/css"> -

   BODY {background: white} -
   TH {background: green} -
   TD {background: yellow} -
</STYLE>' -
BODY 'TEXT="black"' -
TABLE 'WIDTH="95%" BORDER="2"' add the usual css attributes as needed etc

hth

-- 
Bricklen Anderson, Database Administrator
PresiNET Systems
http://www.PresiNET.com
Live Demo: https://www.presinet.com/secure/login
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Bricklen Anderson
  INET: BAnderson_at_PresiNET.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Browett, Darren
  INET: dbrowett_at_coquitlam.ca

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Fri Jan 02 2004 - 15:34:25 CST

Original text of this message

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