sql - Store "greater than or equal to" symbol in Oracle varchar2 column -
sql - Store "greater than or equal to" symbol in Oracle varchar2 column -
i have varchar2(255) column i'd store string like:
1 ≤ 2
however, when run next sql ≤ symbol gets turned "=".
update my_table set my_column = '1 ≤ 2';
this results in next value in table:
1 = 2
how store ≤ or ≥ in database?
use unistr
store utf8 data. it's not convenient plain string, avoids errors caused clients not interpreting utf8 correctly.
--≥ select unistr('1 \2265 2') dual; --≤ select unistr('1 \2264 2') dual;
sql oracle oracle11g
Comments
Post a Comment