We help IT Professionals succeed at work.
Get Started

query to find numbers and not alphanumeric

Fordraiders
Fordraiders asked
on
112 Views
Last Modified: 2015-03-02
access 2010:

I need a query that will only find me records that have a numeric pattern in then.

I need to find these:
Item
10000010
10000072
10000100
10000110
10000251
10000252
10000259
99999333
etc...



and not alphanumeric  combinations
Item
1CFJ4
1CFJ5
2ccc45
3wwe2

etc...

I was trying this but not working.

SELECT OneToOneMatches_2013.Item, OneToOneMatches_2013.del
FROM OneToOneMatches_2013
WHERE (((OneToOneMatches_2013.Item) Like '%[^a-zA-Z0-9]%'));

Thanks
fordraiders
Comment
Watch Question
Developer Analyst
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 2 Answers and 5 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE