开发者

How to escape ® and ™ characters to its character and numeric entity like ® and ™ in a query

开发者 https://www.devze.com 2023-02-22 17:30 出处:网络
For example, if the data in a column is `Descp Comprhensive review ® ` how to retrieve the data as Comprhensive review &am开发者_开发知识库p;reg ;

For example, if the data in a column is

`Descp


Comprhensive review ® `

how to retrieve the data as

Comprhensive review &am开发者_开发知识库p;reg ;

or

Comprhensive review ® ;


the replace function replace(input_str, tm_str, '&trade') can be nested. You'll need one call for each.

In Sqlplus you'll want to set scan off.

0

精彩评论

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