Thursday, August 8, 2013

Get the First Part of an Email Address Using SQL

SUBSTRING(email,0,CHARINDEX('@',email))