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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

colums that contain a word 1

Status
Not open for further replies.

SharonMee

MIS
May 7, 2004
210
CA
Hi all:

How do I set up a query, such that it will give me all rows available in my table except for those in which column "Check" has the word "Total".

Thanks for helping again
 
I tried this:

SELECT * FROM MYTABLE WHERE [CHECK] <> "Total"
and it's still giving me rows with the word Total in the column Check. I should say that in the column I could have something like "001023 Total". I don't want this row to be included in the query.

Thanks for helping, leslie

Sharonmee
 
ok then:

SELECT * FROM MYTABLE WHERE [CHECK] NOT LIKE "*TOTAL*"

Leslie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top