× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 3/25/11 12:25 PM, Peter_Vidal@xxxxxxxx wrote:
The data I am trying to save in a .txt file is created perfectly but
the ALIAS NAMES for the fields are not getting written in the file.
However, if I use the data transfer in Excel, it will bring the ALIAS
NAME for these field names.

The DATA TRANSFER PROPERTIES, on the DISPLAY tab, I have checked up
all the three boxes there, including the 2nd box, which states:
"Display field alias instead of field name" but is not working.

I also thought of download the data into Excel and from there, save
it in tab delimited format but if a cell contains a comma (which is
my case) the cell contents are enclosed in double quotation marks. If
the data contains a quotation mark (which is my case also) double
quotation marks will replace the quotation mark, and the cell
contents are also enclosed in double quotation marks.

Your help and advises are highly appreciated.

No clue on getting the CA request to work as desired, but I gave an example of using a recursive CTE that can be modified both from the production of a CSV row to tab-delimited and to get the alternate column name; optionally made more generic such as in a UDTF or embedded to produce the desired one row of output for a specific TABLE to which the tab-delimited data rows from that TABLE could be appended:
http://archive.midrange.com/midrange-l/201005/msg00932.html
http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14030108

Regards, Chuck

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.