OracleAppsDNA

SQL Query to Validate Email Address

/******************************************************************* 
 *PURPOSE: SQL Query to validate email address                     *
 *AUTHOR: Shailender Thallam 				           *
 *******************************************************************/
select EMAIL_ADDRESS from HZ_CONTACT_POINTS
where EMAIL_ADDRESS is not null
and not REGEXP_LIKE(email_address,'^[a-zA-Z0-9._%-]+@[a-zA-Z0-9._%-]+\.[a-zA-Z]{2,4}$') 
Exit mobile version