﻿<?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 Advanced Analytics User Group  / Single Amp SQL Issue / 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>Thu, 28 Aug 2008 08:02:46 GMT</lastBuildDate><ttl>20</ttl><item><title>Single Amp SQL Issue</title><link>http://www.teradata.com/teradataforum/Topic10708-22-1.aspx</link><description>I'm trying to create a flat file, with a delim of ;, and without spaces between each column.  The query I'm using below doesn't work in Fast Export due to it running on a single amp.  When I remove the trim criteria, it runs without issue. What would cause the single amp error to occur when running this sql below?  Thanks in advance for your help!select     substring(trim(col1) from 1 for 10) || ';',     substring(trim(col2) from 1 for 10)||';',     substring(trim(col3) from 1 for 1)||';',     substring(trim(col4) from 1 for 5)||';'     FROM             where col1 in (criteria);</description><pubDate>Tue, 26 Feb 2008 14:13:51 GMT</pubDate><dc:creator>bknightly</dc:creator></item></channel></rss>