troubleshooting Question

NOT clause in t-sql MS Sql Server 2000

Avatar of mugsey
mugseyFlag for United Kingdom of Great Britain and Northern Ireland asked on
DatabasesMicrosoft AccessMicrosoft SQL Server
3 Comments1 Solution523 ViewsLast Modified:
I have a view in t-sql and want to IGNORE all records that have the following email address which comprises of two digits then test@test.com.  So an email might look like this
                  22test@test.com  or 83test@test.com

So for example I want to do something like

select * from dbo.vw_TestView
where email NOT LIKE (%blank@blank.com%)

But I keep on getting synatax error
ASKER CERTIFIED SOLUTION
mrihm

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros