Question : Numeric or Character value

I have two cost centers, '700010' and 'B40001.  How can I check if the cost center begings with a character or numeric value?

Answer : Numeric or Character value

Use this in your conditional where costcenter is the name of the field

SUBSTRING(LOWER(costcenter),1,1) BETWEEN '0' AND '9'

Random Solutions  
 
programming4us programming4us