Quantcast
Channel: SCN: Message List - SAP Applications on SAP Adaptive Server Enterprise (SAP ASE)
Viewing all articles
Browse latest Browse all 3678

Re: SAP Sybase ASE - How to remove rows with spaces from a table?

$
0
0

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

jpd.desktop.jpg


Viewing all articles
Browse latest Browse all 3678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>