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

Select statement

Status
Not open for further replies.

grecon

Technical User
Joined
Mar 8, 2007
Messages
78
Location
US
Hi I'm new to SQL and I need a SQL statement to retrieve certain records, all I want to do is select customers whos CUST.USERCODE3 <> to 1F 1 and CP How would I write that?
 
Try....

Where CUST.USERCODE3 Not In ('1F','1','CP')

-George

"The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top