In a data flow, how do you parse out the domain portion of an email address so it can be put it in a separate field? Please let me know if you have had any experience with this.
In your SELECT statement, could you embed a LOCATE() function within SUBSTR() function?
SUBSTR(`email`, (LOCATE('@', `email`) + 1))
If that works correctly, I would expect it to pull from a value of '[email protected]' and return a value of 'generic.com'.
@MarkFlachs, did ckatzman's reply help you out?
Long story short, you will create a new column, copy email to that new column and then strip out the data pre '@'. Here are the steps:
Hope that helps!