Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: SQL Server
Expertise: Beginner
Jun 28, 2000

Convert Informix File to Text File

Question:
How do I convert Informix data under Unix to a text file?

Answer:
You can do this by using a SQL UNLOAD command:

UNLOAD to textfilename.unl SELECT * from tablename
This will create a file called "textfilename.unl" that contains the ascii contents of the "tablename" table, with the UNIX pipe symbol "|" separating the fields.
DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap