query only ones starts with character

G

Guest

Hi,
I have "invoice Numer" field and some records contains just number and some
begins with a letter. How would I query up invoices that contains
letter(alpha)?
not using like [a-z]*. I don't want it to input a criteria, i want to run
it automatically.

Thank you!
 
K

Ken Snell [MVP]

You have the answer in your post:

SELECT *
FROM Tablename
WHERE Fieldname Like [a-z]*;
 
K

Ken Snell [MVP]

Typo in my first reply:

SELECT *
FROM Tablename
WHERE Fieldname Like "[a-z]*";
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top