Question #871

I need the SQL query for display the string after @ symbol
Ex: example@hh.com then I want only 'hh.com.'

Expert's answer

SELECT STUFF(ColumnID, 1, LEN(ColumnID)-CHARINDEX('@', ColumnID)+1,'');

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS