Replace spaces, tabs and carriage returns

后端 未结 2 456

I am working with SQL developer with Oracle 11g. I have a query that looks something along the lines of this;

SELECT [column], [column], [column],...... rs.n         


        
2条回答
  •  甜味超标
    2021-01-14 08:54

    In Oracle if you just want to remove a character you can omit the third argument of the replace call and the function for character codes is chr(), not char().

    So your line would be SELECT ... replace(rs.notes,chr(10)) ...

提交回复
热议问题