i'm trying to convert a column from char (8) to integer in order to make a referential integrity with an integer. IT didn't work and I test a select in order to check the cast. Utente_cd is a char(8) column
SEL CAST(UTENTE_CD AS INTEGER) FROM TABLEA
Teradata produces this error :
SELECT Failed. 2621: Bad character in format or data of TABLEA.
Sometime the char column contains also an alphanumeric code that I should discard.
Thank you