Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String within a string
Message
From
20/05/2009 23:54:05
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
String within a string
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01401191
Message ID:
01401191
Views:
100
I have a table with a field called email.
I would like to make sure that all email are valid.
How can I build a select statement that will return all the records that do not have a .com or .net in the email field.

Select * from emails WHERE ".com" OR ".net" is not in the email field

Any help is appreciated.

Thanks
Next
Reply
Map
View

Click here to load this message in the networking platform