This might be handy:
http://www.databasejournal.com/img/email_val.sql

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:pgsql-general-
> [EMAIL PROTECTED] On Behalf Of Andrus
> Sent: Wednesday, October 19, 2005 11:12 AM
> To: pgsql-general@postgresql.org
> Subject: [GENERAL] Select all invalid e-mail addresses
> 
> I have a database of e-mail addresses.
> 
> I want to select the email addresses which are not valid:
> 
> do not contain exactly one @ character,
> contain ; > < " ' , characters or spaces etc.
> 
> What is the WHERE clause for this ?
> 
> Andrus.
> 
> 
> 
> ---------------------------(end of
broadcast)---------------------------
> TIP 6: explain analyze is your friend

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to [EMAIL PROTECTED] so that your
       message can get through to the mailing list cleanly

Reply via email to