1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
| WHENEVER OSERROR EXIT 22
WHENEVER SQLERROR EXIT 22 ROLLBACK
set transaction read only;
set head off
set arraysize 5
set embedded on
set echo off
set verify off
set feedback off
set pagesize 0
set linesize 2100
set verify off
set term off
col c1 format A9
col c2 format A15
col c3 format A1
col c4 format 00000000000000000000000000000000000000
col c5 format A2000
col c5 ENTMAP OFF
col c6 format A2
spool &1
select
'000000000' c1,
uneColonneString c2,
'AA' c6,
'0' c3,
uneColonneNum c4,
laColonneAvecDesCR c5
from uneTableADecharger;
spool off
exit |
Partager