Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Sat, 22 Dec 2007 @ 15:54:01 GMT


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


Subj:   Re: Row CheckSum
 
From:   Hassinger, Bill

Thanks Micheal;

However your solution does not work in my example, all SELECTs below still return the bad character error. Where is my format error?

     SELECT Sys_Calendar.calendarall.calendar_date AS ordate,
     Sys_Calendar.calendarall.month_name_long,
     Cast((CHAR2HEXINT( Sys_Calendar.Calendarall.month_name_long))as Integer) AS
     intcode
     FROM Sys_Calendar.Calendarall  ;

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


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

BillH



     
  <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: 15 Jun 2023