I am trying to format the email address in my table by removing everything starting the @. Also I would like to replace the underscore with blank space.
For exampl
SELECT REPLACE(LEFT(Email, CHARINDEX('@',Email)-1),'_',' ') FROM [DSR].[dbo].[RCA_Dashboard]