由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - Error of SQL query on IBM netezza SQL database from Aginity workbench
相关主题
SQL check likeness between two large tables (转载)sort two same tables SQL but different results (转载)
SQL combine two tables into one table and add a new columnSQL copy a table into a new table and add a new column (转载)
add column name in exporting table netezza aginity sql (转载)error of executing SQL query of string concatenation (转载
check time table created in IBM SQL Aginity workbench ? (转载)error of sql query in MS Access database
copy database from one server to another in IBM netezza Aginity workbencherror export sql table from IBM netezza database to a file
请教一道算法题目,请高手指点Facebook Phone Screen
sql的2个问题请问C#中如何update hashtable中的value? (转载)
求教一个SQL的问题下午的google就只code完一题,没来得及做第二题
相关话题的讨论汇总
话题: error话题: sql话题: aginity话题: ibm话题: table2
进入JobHunting版参与讨论
1 (共1页)
l******9
发帖数: 579
1
I need to so a sql query on IBM netezza sql database from Aginity workbench
on win7.
My query:
SELECT *
from table1 AS c ,
table2 AS b
where CAST(c.id as int) = b.id
in table1, id is character varying(20) and in table2, id is int.
Table1:
id value1 value2
'985' 'casdqwdc' '654.3184' // they are all char
Table2:
id value1
985 694381 // id is int, value1 is int
I got error:
ERROR [HY000] ERROR: pg_atoi: error in "id": can't parse "id"
Any help would be appreciated.
s****e
发帖数: 54
2
my guess:
some value in table, column id, has some non number charactor.
You can try find out if id has any non number in it.
1 (共1页)
进入JobHunting版参与讨论
相关主题
下午的google就只code完一题,没来得及做第二题copy database from one server to another in IBM netezza Aginity workbench
How to convert string to string array (or vector) (转载)请教一道算法题目,请高手指点
这里牛人多,给大家来个算法的问题sql的2个问题
求解比硬币找零稍难的一题求教一个SQL的问题
SQL check likeness between two large tables (转载)sort two same tables SQL but different results (转载)
SQL combine two tables into one table and add a new columnSQL copy a table into a new table and add a new column (转载)
add column name in exporting table netezza aginity sql (转载)error of executing SQL query of string concatenation (转载
check time table created in IBM SQL Aginity workbench ? (转载)error of sql query in MS Access database
相关话题的讨论汇总
话题: error话题: sql话题: aginity话题: ibm话题: table2