Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 21 Dec 2007 @ 17:08:02 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Row CheckSum
 
From:   Hassinger, Bill

Thanks for the previous responses.

I am playing with using Hex2CharInt to create the checksum. I have a problem where this runs ok:

     SELECT Sys_Calendar.calendarall.calendar_date,
     Sys_Calendar.calendarall.month_name_long,
     CHAR2HEXINT( Sys_Calendar.Calendarall.month_name_long) AS intcode
     FROM Sys_Calendar.Calendarall  ;

This has a bad character in format or data of intcode error:

     SELECT Sys_Calendar.calendarall.calendar_date AS ordate,
     Sys_Calendar.calendarall.month_name_long,
     CHAR2HEXINT( Sys_Calendar.Calendarall.month_name_long) AS intcode,
     intcode + (ordate (INTEGER))
     FROM Sys_Calendar.Calendarall  ;

Why would the bad character become an issue in the summing , but not the CHAR2HEXINT as part of select?


Bill H



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 27 Dec 2016