|
|
Archives of the TeradataForum
Message Posted: Sat, 22 Dec 2007 @ 15:54:01 GMT
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
| |