﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Teradata Forums / Teradata  / Teradata Tools and Utilities  / FastExport script and output delimiters / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>Teradata Forums</description><link>http://www.teradata.com/teradataforum/</link><webMaster>info@teradata.com</webMaster><lastBuildDate>Fri, 05 Sep 2008 10:28:58 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: FastExport script and output delimiters</title><link>http://www.teradata.com/teradataforum/Topic8847-10-1.aspx</link><description>Sushant!Arguably a better approach, as this would give you absolute control over the placement not only of delimiters, but of the actual data as well.  Using this FE script would help write the FastLoad script.Thanks!Andrew</description><pubDate>Fri, 01 Aug 2008 09:48:39 GMT</pubDate><dc:creator>AndrewLivingston</dc:creator></item><item><title>RE: FastExport script and output delimiters</title><link>http://www.teradata.com/teradataforum/Topic8847-10-1.aspx</link><description>select CAST(first_col AS CHAR(N)) || ';' || CAST (second_col AS CHAR(N)) || etc... from my_tableWe can also do like thisselect CAST(first_col AS CHAR(N))          ,cast(';'  as char(1))         ,CAST (second_col AS CHAR(N))         , etc... from my_table</description><pubDate>Fri, 01 Aug 2008 09:44:28 GMT</pubDate><dc:creator>sp230071</dc:creator></item><item><title>RE: FastExport script and output delimiters</title><link>http://www.teradata.com/teradataforum/Topic8847-10-1.aspx</link><description>Fabio,&lt;br&gt;&lt;br&gt;Excellent!  I don't think I would ever have even thought of that.  Looking at the code, yes, that would work a treat.&lt;br&gt;&lt;br&gt;Many thanks for your suggestion!&lt;br&gt;&lt;br&gt;Andrew</description><pubDate>Thu, 20 Sep 2007 09:41:06 GMT</pubDate><dc:creator>AndrewLivingston</dc:creator></item><item><title>RE: FastExport script and output delimiters</title><link>http://www.teradata.com/teradataforum/Topic8847-10-1.aspx</link><description>I typically do the following, in order to eliminate the TABs:&lt;br&gt;&lt;br&gt;select CAST(first_col AS CHAR(N)) || ';' || CAST (second_col AS CHAR(N)) || etc... from my_table&lt;br&gt;&lt;br&gt;where "||" is the concatenation operator.&lt;br&gt;&lt;br&gt;</description><pubDate>Thu, 20 Sep 2007 08:42:13 GMT</pubDate><dc:creator>Fabio</dc:creator></item><item><title>RE: FastExport script and output delimiters</title><link>http://www.teradata.com/teradataforum/Topic8847-10-1.aspx</link><description>Zebulon,&lt;br&gt;&lt;br&gt;Interestingly enough, that is exactly what one of the DBA suggested.&lt;br&gt;&lt;br&gt;It is a much simpler method that writing an OUTMOD function.  The only drawback I can see is that it still inserts the tab, but as long as the application you are importing to is set to recognise another delimiter it should be fine.  Also, depending on the size of the txt file, you can always do a bulk find/replace.&lt;br&gt;&lt;br&gt;Many thanks for your post!&lt;br&gt;&lt;br&gt;Andrew</description><pubDate>Tue, 11 Sep 2007 08:19:19 GMT</pubDate><dc:creator>AndrewLivingston</dc:creator></item><item><title>RE: FastExport script and output delimiters</title><link>http://www.teradata.com/teradataforum/Topic8847-10-1.aspx</link><description>Here is what I've done, just add the delimiter in my query, not elegant but it's work!&lt;br&gt;&lt;br&gt;select first_col(char(0)), ';' (char(1)) etc... from my_table&lt;br&gt;&lt;br&gt;</description><pubDate>Tue, 11 Sep 2007 08:00:10 GMT</pubDate><dc:creator>zebulon</dc:creator></item><item><title>FastExport script and output delimiters</title><link>http://www.teradata.com/teradataforum/Topic8847-10-1.aspx</link><description>Howdy folks,&lt;br&gt;&lt;br&gt;I just had a query from a user where he is using FastExport and wants to state what delimiter the output file should use.  I have had a look on-line, consulted the FastExport user guide, and it appears that you cannot specify this, like you can in FastLoad.&lt;br&gt;&lt;br&gt;Is the only way to achieve this to use an AXSMOD or INMOD procedure?&lt;br&gt;&lt;br&gt;Many thanks!&lt;br&gt;&lt;br&gt;Andrew Livingston</description><pubDate>Mon, 10 Sep 2007 11:15:18 GMT</pubDate><dc:creator>AndrewLivingston</dc:creator></item></channel></rss>