﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Teradata Forums / Drivers and UDFs / Teradata   / transform Hexadecimal into Binary / 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 02:32:25 GMT</lastBuildDate><ttl>20</ttl><item><title>transform Hexadecimal into Binary</title><link>http://www.teradata.com/teradataforum/Topic11589-11-1.aspx</link><description>Release:V2R6.1We have data in a Teradata table with a data type of VARCHAR(322) CHARACTER SET LATIN NOT CASESPECIFICFor example, the following:0B886091F4B04FF6038D6C7E6F001BBC00FF98C964000000.XXXXThis represents hexadecimal values.The dot, '.', in the above example represents/would be expanded to 64 zeros.The 'X' is expanded to 16 zeros.Need to translate this example into a binary representation and land it in another Teradata table.Is there a UDF which would handle the transformation?What has been accomplished so far is to use XI2 to get into a decimal format.ie.  to transform "F"  , use select  'F'XI2;Looking forward to your reply. Thank you.</description><pubDate>Fri, 23 May 2008 15:14:11 GMT</pubDate><dc:creator>butseriouslyfolks</dc:creator></item></channel></rss>