Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

query to look for and pull only records w certain text

Status
Not open for further replies.

taylornow

Technical User
Oct 16, 2000
90
US
Hello everybody - I was going to look at the boards and see if this question was there - but to be honest - I had no idea what keyword to use. Here goes -
I have a database listing projects. The project name for each is very similiar- each special in a slightly different way. What I need is a query just pulling out the ones with certain words or letters within the name. In my case - the letters are CD. I need a list of all the projects with the name CD in them. Sometimes it is in the front and sometimes in the middle of the name. I don't even know where to start. Someone give me a push.

Thanks in advance
Taylor
 
Code:
select * from [Projects] where (Instr([ProjectName], 'CD') > 0);
 
It Worked !! You are the best - Thanks so much.

Taylor
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top