Mark,
Well, I thought I had solved the problem, and almost there, but not quite.
I extracted the data from the table, after removing the "Control-M" characters from the file and there are still a bunch of spaces after the email address in each row in spite of using RTRIM. Here´s the query:
USE test
GO
SELECT LTRIM(RTRIM(a)) FROM xx
GO
You can see that in spite of the LTRIM(RTRIM()) I still have the blanks in there from the Hex Editor I used. See the snapshot of my desktop.
Should I call in SAP and report a bug in in RTRIM? I can go in vi and remove them from there, but gee, RTRIM should have done the job right?
Thank you for your input.
Regards,
Jean-Pierre