Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
mwallman
Creator III
Creator III

How to store table data into a text .TXT file using the script?

Hi all,

How do you store table data into a text .TXT file using the script?

I am aware of Store statement but reading about states it only does qvd and csv files?

I would like to store the data in a text file including the headers.

Anyone know how please?

4 Replies
sunny_talwar

Try this:

STORE TableName into File.txt (txt);

awhitfield
Partner - Champion
Partner - Champion

Or even better:

STORE TableName into File.txt (txt);

sunny_talwar

100% much better

UPDATE: Not anymore though

asgardd2
Creator III
Creator III

Also, you can add custom delimiter, like this:

STORE Transactions into Transactions.txt (txt, delimiter is '|');