Hi,
I have been trying to export data from oracle to teradata.Script to export data to flatfile from oracle source
CONNECT user_id/***
SET SPACE 0
SET LINESIZE 300
SET PAGESIZE 500
SET ECHO OFF
SET FEEDBACK OFF
SET HEADING ON
SET COLSEP '|'
Spool /home/dev_team/oracle_test/test.DAT
Select * from sysadm.ps_test;
Spool off;
Quit;
all columns are defined as Varchar2(5 char)
COL_1|COL_2|COL_3
↧