Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to extract a delimited file? 1

Status
Not open for further replies.

prismtx

IS-IT--Management
Apr 9, 2001
59
US
I need to extract data from about a dozen tables to pipe-delimited files. Some of these have 70-80 fields in them. I want to extract all fields from the selected records. Is there an easier way to insert the delimiters other than
Code:
Select field1, '|', field2, '|', .... field75 from table1
where status = 'E'
 
Hi,
Check out the SqlPLus option

SET COLSEP = '|'

( check for exact one, my manual is not with me)



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Thanks Turkbear. I knew there was a way, but could not find the way to set it. It worked perfect.

The syntax was:

SET COLSEP '|' no equals sign
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top