Archives of the TeradataForum
Message Posted: Fri, 21 Dec 2007 @ 17:08:02 GMT
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
|