oracle 字符集/转换函数

CONVERT(char, dest_char_set [,source_char_set] )函数

 

使用convert

SQL code
  
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) --> SQL> select CONVERT(datatype, 'US7ASCII' ) from BSTH_SYS_FIELD_ALIAS; CONVERT(DATATYPE,'US7ASCII' ) -------------------------------------------------------------------------------- gfdfghdf ?? SQL> select CONVERT(datatype, 'ZHS16GBK' ) from BSTH_SYS_FIELD_ALIAS; CONVERT(DATATYPE,'ZHS16GBK' ) -------------------------------------------------------------------------------- gfdfghdf 中文

你可能感兴趣的:(oracle,sql)