While I'm connecting to HFSQL database to retrieve a set of data using pypyodbc module in python with the following code
import pypyodbc
connection = pypyodbc.connect( "DSN=odbc_name" )
cursor = connection.cursor()
cursor.execute( "select * from cli" )
result = cursor.fetchall()
I get "invalid literal for int() with base 10" error, the source of this problem is the null value of some columns, any workarounds this problem besides modifying the null data in the database table.