Get ASCII code function and get ASCII code value function

Sometimes there are some special symbols in the value of some fields in the table. We can't know what it is. You can locate the symbol by outputting its ASCII code, and then replace it with an empty string.

SELECT 'a',ascii('a'),chr(ascii('a')) FROM dual;

Guess you like

Origin blog.csdn.net/qq_33445829/article/details/110431774