Error of SQL query on IBM netezza SQL database from Aginity workbench on Win7 -
i need sql query on ibm netezza sql database aginity workbench on win7.
my query:
select * table1 c , table2 b cast(c.id int) = b.id
in table1, id character varying(20) , in table2, id int.
table1: id value1 value2 '985' 'casdqwdc' '654.3184' // char table2: id value1 985 694381 // id int, value1 int
i got error:
error [hy000] error: pg_atoi: error in "id": can't parse "id"
any appreciated.
somewhere in column id in table1 there value can't converted integer.
based on error, have used nzload or external table load data file has header row column labels without skipping row, , have 1 row value 'id' in column id.
testdb.admin(admin)=> select cast('id' int); error: pg_atoi: error in "id": can't parse "id"
Comments
Post a Comment