schintapalli
Programmer
In Informix, I have a column which stores only numbers but the data type for that column is defined as char. Is there any way that I can convert this char data into numeric so that I can use that in the where clause as well as in order by clause.
Eg: The column data has values '11' , '103','412', '92'. whene I use a select with order by I am getting the result set as '11' , '103','412', '92'. where as I would like get '11','92','103','412'. Also I would like to use this column in where clause to filter, so that I can get records only with value above 50, say 'where column_value > 50'. How can I achieve this, any function is available in informix for this?
Regards
Eg: The column data has values '11' , '103','412', '92'. whene I use a select with order by I am getting the result set as '11' , '103','412', '92'. where as I would like get '11','92','103','412'. Also I would like to use this column in where clause to filter, so that I can get records only with value above 50, say 'where column_value > 50'. How can I achieve this, any function is available in informix for this?
Regards