Can anyone of you let me knw how to obtain the output flat file in the below format ?
"ID"|"NAME"|"PA RENT_ID"
"NQ TEL"|"14"|"Mace town"
But I am gettin the output.. as below.
VENDOR_NAME||'| '||VENDOR_ID||' |'||CITY
----------------------------------------------------------------------------------------------------
NQ TEL|14|Macetown
NA TEL|14|Molokai
I am using the followin script :
set heading on
set echo off
set feedback off
spool Y:\Spool\output 1.txt
select Vendor_Name || '|' || Vendor_ID || '|' || City from vendor where city like 'Mo%';
spool off;
set feedback on
set echo on
set heading on
Can anyone help me on this.? In Addition to this, I also need to remove the line separating Header and the Data .
Thanks a ton. :)
"ID"|"NAME"|"PA RENT_ID"
"NQ TEL"|"14"|"Mace town"
But I am gettin the output.. as below.
VENDOR_NAME||'| '||VENDOR_ID||' |'||CITY
----------------------------------------------------------------------------------------------------
NQ TEL|14|Macetown
NA TEL|14|Molokai
I am using the followin script :
set heading on
set echo off
set feedback off
spool Y:\Spool\output 1.txt
select Vendor_Name || '|' || Vendor_ID || '|' || City from vendor where city like 'Mo%';
spool off;
set feedback on
set echo on
set heading on
Can anyone help me on this.? In Addition to this, I also need to remove the line separating Header and the Data .
Thanks a ton. :)
Comment