It's confusing that you say that your alphanumeric column contains "strictly numeric" values, but asking about a non-numeric value like '0A0'. If this is a hexadecimal value that you're storing, you would need to write a UDF (user-defined function) to convert the column to a numeric value. If the column truly contains numeric values, you could change the range check to INTEGER(alphanum_column) BETWEEN 0 AND 999999999.
MORE INFORMATION ON THIS TOPIC
Visit the ITKnowledge Exchange and get answers to your DB2 questions fast.
Check out this Search400.com Featured Topic: Expert advice on DB2
Search400.com's targeted search engine: Get relevant information on DB2/400.
The Best Web Links: Tips, tutorials and more.
Dig Deeper on iSeries SQL commands and statements
Related Q&A from Kent Milligan
When working with DB2 files with columns that have both short and long names, there is no option choose which column names are returned via ODBC ... Continue Reading
When developing tables in a parent-child relationship, use a primary key and a foreign key along with a unique ID to make your database easier to ... Continue Reading
IBM did not change the default of the reuse deleted files function to YES for physical files in order to minimize the impact on any existing ... Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.