Converting a varchar to a numberic in SQL query
How can we convert a varchar field to Numberic in a SQL Query in db2 400?

Software/Hardware used:
ASKED: November 4, 2008  5:50 PM
UPDATED: December 4, 2008  2:04 AM

Answer Wiki:
Does this do it? dec(odptn ) How about using SQL functions: INTEGER(varchar_column) The same can be done to other DB2 numeric data types.
Last Wiki Answer Submitted:  December 4, 2008  2:04 am  by  philpl1jb   44,190 pts.
All Answer Wiki Contributors:  philpl1jb   44,190 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _