﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Teradata Forums / Data Warehousing  / Teradata   / Use CASE statement in Fastload script / 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>Sun, 07 Sep 2008 10:51:08 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Use CASE statement in Fastload script</title><link>http://www.teradata.com/teradataforum/Topic11344-1-1.aspx</link><description>You can't use case statement directly in the fastload script.It is possbile for you to embed INMOD into fastload to do such transfer job.Or you can use NULLIF in the define section. But with this method, the input field containing the specified value should be treated as NULL...</description><pubDate>Sat, 03 May 2008 23:35:06 GMT</pubDate><dc:creator>Jian</dc:creator></item><item><title>Use CASE statement in Fastload script</title><link>http://www.teradata.com/teradataforum/Topic11344-1-1.aspx</link><description>Hi All,Can we use CASE statement in a fastload script. I want to check for zero length string. Is it possible to use some thing like thisCASE(LENGTH(:input_string)=0) Then 'UNKNOWN' Else :input_stringPlease advise.Thanks,Amit</description><pubDate>Fri, 02 May 2008 02:11:06 GMT</pubDate><dc:creator>amitaryans</dc:creator></item></channel></rss>