Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Databases Reporting with SQL Working with Text Replacing Strings

Jose Testa
Jose Testa
2,001 Points

How to replace just one character "@" from every entry on the email column.

My code is attached and you can see the problem. Thank you again!

2 Answers

Alexander Einerskog
Alexander Einerskog
11,932 Points

I cannot see any attached code, so I do not know what you've tried.

Using the SQL Replace() function in your SELECT is a good idea. Here's a hint: SELECT Replace( ) AS your_alias_here FROM customers

(Note that the above will not work unless you finish the replace call :) )

Jose Testa
Jose Testa
2,001 Points

Thanks, Alexander! I'll try.