开发者

how to remove spaces in and of text field

I have field X that contains text with spaces in the end of the text.

How I can remove them?

I need it in any SQL query for ora开发者_StackOverflow中文版cle 10g.


Strictly speaking if you want to only remove trailing spaces then you'd use RTrim(). LTrim() is leading spaces and Trim() is both.


select trim(COLUMN_NAME) from .......
;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜