Email Validation
Teradata Teradata Discussion Forums Teradata.com Discussion Forum
Visit Teradata.com
Home       Guidelines    Member List
Welcome Guest ( Login | Register )
        


This online forum is for user-to-user discussions of Teradata products, and is not an official customer support channel for Teradata. If you require direct assistance, please contact Teradata support.


Email Validation Expand / Collapse
Author
Message
Posted 6/17/2008 9:03:50 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 2 days ago @ 11:11:58 AM
Posts: 22, Visits: 88
Hi

Does someone knows how to validate an email using Teradata SQL, the email must not be null,and must not start with a @, '." symbols, and must not end with these symbols as well.

I will really appreciate it if some one can help, its easier using MS SQL Functions,but I cannot implement such funtion in Teradata(not supported by my environment).

Regards,
Ince


Ince Chauke
Jnr BI System Analyst
Data Warehouse Department
Knowledge Leads The World.
Post #11904
Posted 6/18/2008 12:32:12 PM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 6/27/2008 7:19:28 AM
Posts: 42, Visits: 54
Something like that :
select MAIL_ADDRESS || " is not valid"
from MY_TABLE
where MAIL_ADDRESS like any ('.%', '@%', '%.', '%@')
and MAIL_ADDRESS not like '%@%.%'
Post #11921
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.


All times are GMT -5:00, Time now is 11:52pm

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.078. 9 queries. Compression Disabled.