Bonjour,
j'essaye d'obtenir un fichier de spool dont les colonnes soient séparées par des |.
Mais la commande SET COLSEP '|' n'a aucun effet.
PS - question subsidiaire : comment caler les nombres à gauche dans une colonne ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14 SET LINESIZE 200 SET PAGESIZE 0 SET FEEDBACK OFF SET TRIMSPOOL ON SET COLSEP '|' SET SPACE 0 SET TERMOUT OFF SPOOL extract.dat SELECT a, b, c from ma_table; SPOOL OFF; SET TERMOUT ON QUIT
Partager