Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Problem with SPOOL OUT function (7.3)
I want to print a report, but the SPOOL OUT has no effect.
Spool c:\temp\opp works fine (see code below)
But at the end SPOOL OUT (see code below) send nothing to
the (existing, default) printer
clear screen
accept wijkcode number -
Prompt "Geef wijkcode: "
spool c:\temp\opp
set linesize 70
set pagesize 60
set newpage 1
ttitle "OVERZICHT|Oppervlaktecontrole"
column Som_Nieuw heading "Opp.|onderdeel" column Som_Nieuw FORMAT 9999990 column Som_Oud heading "Opp.|element" column Som_Oud FORMAT 9999990
/ 100))) + 0.5),0) verschil
from geo.att_voorziening voorz,
( select b.idvz,sum(b.opp) opp
from geo.att_voorziening voorz, geo.att_element b
where voorz.idvz=b.idvz
group by b.idvz) elem,
(select c.idvz,sum(c.opp) opp
from geo.att_voorziening voorz, geo.att_onderdeel c
where voorz.idvz=c.idvz
group by c.idvz) ond
where voorz.idvz=elem.idvz(+)
and voorz.idvz=ond.idvz(+)
and voorz.wijkcode='&Wijkcode'
group by voorz.wijkcode, voorz.idvz, voorz.opp
having trunc(abs((100-(sum(elem.opp)+sum(ond.opp)) /
(voorz.opp / 100))) + 0.5) > 4;
spool out
with regards.
André Received on Fri Aug 31 2001 - 01:22:22 CDT
![]() |
![]() |