How to query for an *

  • Thread starter Thread starter JamesSF
  • Start date Start date
J

JamesSF

Hello

I need to remove about 20,000 records from a table that has ** in the last 2
digits of a 10 digit number.

since * is also the wildcard, how can i select or filter for any record that
end with **?

thanks in advance
james
 
JamesSF wrote in message said:
Hello

I need to remove about 20,000 records from a table that has ** in the last 2
digits of a 10 digit number.

since * is also the wildcard, how can i select or filter for any record that
end with **?

thanks in advance
james

Place the wildcards in [brackets]

Where somefield like "*[**]"
 
Try enclosing the character in square brackets, e.g.:
Like "*[*]"
 
perfect guys - thanks!


RoyVidar said:
JamesSF wrote in message said:
Hello

I need to remove about 20,000 records from a table that has ** in the
last 2 digits of a 10 digit number.

since * is also the wildcard, how can i select or filter for any record
that end with **?

thanks in advance
james

Place the wildcards in [brackets]

Where somefield like "*[**]"
 
Use one of the following criteria

Like "*[*][*]"

or

Field: LastTwo: Right([NumberField],2)
Criteria: "**"
 

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

Back
Top