标签:data 不能 HERE bsp spool || idt 导出数据 line
set verify off;
set colsep ‘分隔符’;
set echo off;
set feedback off;
set heading off;
set pagesize 0;
set linesize 10000;
set numwidth 26;
set termout off;
set trimout on;
set trimspool on;
spool ‘/etl/a.txt’
select
trim(字段)||’分割符’||
trim(字段)||’分割符’||
trim(字段)
from a
where date =:data_date
spool off
最后一个字段无分隔符,不然不能装载数据
标签:data 不能 HERE bsp spool || idt 导出数据 line
原文地址:https://www.cnblogs.com/yuchunju/p/10794435.html