SET VERIFY OFF
SET HEADING ON
SET ECHO OFF
SET PAGESIZE 0
SET LINE 1000
SET FEEDBACK ON
SET NEWPAGE 0
SET TERMOUT OFF
SET SERVEROUT OFF
SET TRIMSPOOL ON
WHENEVER OSERROR EXIT 1 ROLLBACK
WHENEVER SQLERROR EXIT SQL.SQLCODE ROLLBACK
spool /XX/XX/XXX.csv
select ( STRA || ',' ||
STRB || ',' ||
TO_CHAR(NUMC)
)
from Table;
spool off
0 件のコメント:
コメントを投稿