| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: "Publishing" HTML
Below is the solution that was implemented & is now in production.
Scott Graves wrote:
>
> To produce a simple page, at the sqlplus prompt type "set markup html on"
> then issue your query and spool it to a file.
>
#!/usr/bin/ksh
# Formats a simple webpage for an emergency call list.
#
. ${HOME}/oracle.chiron.HR.env
select EMP.FIRSTNAME, EMP.LASTNAME, TTL.JOBLONG title, DPT.DEPTLONG Department, EP.Phone
from hr.empheader_master EMP,
hr.eorg_master ORG,
hr.jobnumber TTL,
hr.depart DPT,
hr.ejobsal_master JOB,
hr.epersonal_master EP
where EMP.A_I = 'A'
and ORG.DEPARTMENT in ('100','112','117','121','122','138')
and ORG.DEPARTMENT = DPT.DEPTCODE
and EMP.SSN = JOB.SSN
and EMP.SSN = ORG.SSN
and JOB.JOBNUMBER = TTL.JOBCODE
and EMP.SSN = EP.SSN
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Charlie Mengler INET: charliem_at_mwh.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- 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 Mon Sep 10 2001 - 11:54:47 CDT
![]() |
![]() |