Table Email:
Email
Values:
josh@yahoo.com carmine32@hotmail.com zehmaneh@yahoo.com
I want to replace the string before
You could
select 'test' + substring(fld, charindex('@', fld), len(fld))