Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Data archiving
In 1998050802105300.WAA17819_at_ladder01.news.aol.com, Jgitomer wrote:
> >
> > Using a simple select statement and spooling out means that the
> > spool file will contain column headers, which makes the process
> > of loading back the data staright from the spool file difficult,
> > since you'll have to strip off the headers. If there a way of
> > spolling without the headers??
>
> SET HEAD OFF
> SET PAGESIZE 0
This is only part of the story. You may also have to specify column
widths, space between columns, conversion formats (you wouldn't want to
have all your Date/Time fields come out as MM/DD/YY, would you?), and
suchlike.
And then you'll find, as I did, that embedded carriage returns completely screw up the column lengths (at least with 7.3.2, an embedded CR would cause it to space-pad the output beyond either the defined or specified length).
-kdg Received on Fri May 15 1998 - 11:36:32 CDT
![]() |
![]() |