在表格的列COMMENTS
中,dba_col_comments
一些符号显示为“?”。可能这些被替换为中文符号。
PL/SQL Developer 和 SQLPlus 显示相同的结果:
SQL> SELECT * FROM dba_col_comments WHERE table_name='XX' AND COLUMN_NAME='OO';
OWNER TABLE_NAME COLUMN_NAME COMMENTS
------- ---------- -------------- -------------------------
GAME XX OO 1?????????2?????????????
SQL> select userenv('language') from dual;
USERENV('LANGUAGE')
----------------------------------
SIMPLIFIED CHINESE_CHINA.AL32UTF8
如何知道由问号代替的实际符号?