Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> beginner - unload tables with fix length?
Here my example:
create emp (id number(12), name varchar2(30))
I would like to extract the table and the only way I currently know is:
spool xxx
Select id||';'||name||';' from emp;
spool off
The result is:
miller;1
smith;2
But I wouldn't like to have ';' separated fields but fix length (length
of
column definitions:
miller 1 smith 2
![]() |
![]() |