﻿<?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  / Training  / Decimal Data Type Query / 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, 04 Dec 2008 01:54:38 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Decimal Data Type Query</title><link>http://www.teradata.com/teradataforum/Topic11919-13-1.aspx</link><description>I have found out the solution for the above stated problem :) The data being loaded into Teradata is perfect. The problem lies when you try to view data using select statement which can just show decimals upto 15 digits correctly. To view the data properly you can typecast the field to select cast(ABC as varchar(18)).</description><pubDate>Thu, 19 Jun 2008 06:37:51 GMT</pubDate><dc:creator>Anshul Jhansiwale</dc:creator></item><item><title>Decimal Data Type Query</title><link>http://www.teradata.com/teradataforum/Topic11919-13-1.aspx</link><description>I am loading 999...99 (18 times) into a teradata table field whose definition is ABC DECIMAL(18,0) NOT NULL COMPRESS 0. But when I see loaded data it is 1000...00 (1 then 18 zeros). I am unable to figure out why this is happening. I am using Ab Initio while for loading the data.The data field definition in Ab Initio is decimal("|", maximum_length=19) ABC i.e. maximum length is 19 and also | (pipe) separated.Please help....Regards,Anshul</description><pubDate>Wed, 18 Jun 2008 11:27:58 GMT</pubDate><dc:creator>Anshul Jhansiwale</dc:creator></item></channel></rss>