I'm using the spool command in sqlplus to generate a file with the rows of some queries.
First I assign an output format and secondly I do the spool to generate the output file, but it does not save all the rows.
set lines 100
set pages 1500
set colsep ';'
spool /home/bsoinst/users/example.txt
select name,salary from employees (query example)
The original query generates 1433 rows, but in the file it only shows 1414
Thanks
distinct, or grouping differently, or something? - Alex Poolespool off? If not everything you type now is still going into the file - but it's buffered so isn't written to disk immediately... - Alex Poole