Link to home
Start Free TrialLog in
Avatar of vbnetcoder
vbnetcoder

asked on

Query - show only records where a field has a numeric value AND the value is > 6

I have a  field that can contain number or letters.  

I want to return records if the field contains a number AND the number is > 6

What would be the syntax?
Avatar of Sean Stuber
Sean Stuber

select * from yourtable
where isnumeric(yourfield) != 0
and yourfield > 6
ASKER CERTIFIED SOLUTION
Avatar of Scott Pletcher
Scott Pletcher
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vbnetcoder

ASKER

ty