ZHS16GBK轉換成AL32UTF8
現字符集
SQL> select userenv('language') from dual; USERENV('LANGUAGE') ---------------------------------------------------- AMERICAN_AMERICA.ZHS16GBK
rac環境轉換字符集
關閉資料庫 [root@rac2 ~]# srvctl stop database -db hap
轉換 SQL> startup nomount; ORACLE instance started. Total System Global Area 4999609048 bytes Fixed Size 9145048 bytes Variable Size 956301312 bytes Database Buffers 4026531840 bytes Redo Buffers 7630848 bytes SQL> alter system set cluster_database=FALSE scope=spfile sid='*'; System altered. SQL> shutdown immediate; ORA-01507: database not mounted ORACLE instance shut down. SQL> startup mount; ORACLE instance started. Total System Global Area 4999609048 bytes Fixed Size 9145048 bytes Variable Size 956301312 bytes Database Buffers 4026531840 bytes Redo Buffers 7630848 bytes Database mounted. SQL> alter system enable restricted session; System altered. SQL> alter system set job_queue_processes=0; System altered. SQL> alter system set aq_tm_processes=0; System altered. SQL> alter database open; Database altered. SQL> ALTER DATABASE character set INTERNAL_USE AL32UTF8; Database altered. SQL> shutdown immediate; Database closed. Database dismounted. ORACLE instance shut down. SQL>
啟動並檢查 SQL> startup nomount; ORACLE instance started. Total System Global Area 4999609048 bytes Fixed Size 9145048 bytes Variable Size 956301312 bytes Database Buffers 4026531840 bytes Redo Buffers 7630848 bytes SQL> alter system set cluster_database=TRUE scope=spfile sid='*'; System altered. SQL> shutdown abort; ORACLE instance shut down. SQL> startup; ORACLE instance started. Total System Global Area 4999609048 bytes Fixed Size 9145048 bytes Variable Size 956301312 bytes Database Buffers 4026531840 bytes Redo Buffers 7630848 bytes Database mounted. Database opened. SQL> select userenv('language') from dual; USERENV('LANGUAGE') -------------------------------------------------------------------------------- AMERICAN_AMERICA.AL32UTF8 SQL>
這樣rac的字符集就從ZHS16GBK轉換成AL32UTF8。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/70004783/viewspace-2856605/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 更改Oracle字符集:把字符集ZHS16GBK換成UTF8Oracle
- pdf轉換成word,免費轉換
- char轉換成int
- 成績轉換 HDU - 2004
- Java物件轉換成MapJava物件
- pdf轉換成word文件
- 轉換成浮點數
- 轉換成為整數
- 圖片格式轉換,JPG圖片轉換成PDF
- RRGGBBAA或者RRGGBB轉換成rgba()
- JavaScript 轉換成UTC時間JavaScript
- PHP 物件轉換成陣列PHP物件陣列
- InputStream流轉換成String字串字串
- 陣列轉換成List集合陣列
- 如何把PDF轉換成EXCELExcel
- csv格式怎麼轉換成excel?csv格式轉換成excel格式檔案的方法Excel
- JavaScript 時間日期轉換成中文JavaScript
- 如何將圖片轉換成影片?
- pdf轉換成word,非常實用
- win10 pdf怎麼轉換成word_win10如何把pdf轉換成word文件Win10
- ofd檔案如何轉換成pdf格式 電腦上ofd檔案如何轉換成pdf格式
- xdf檔案轉換成pdf怎麼操作 xdf怎麼免費線上轉換成pdf
- CAD怎麼轉換成PDF格式?CAD轉換PDF的正確方法
- ppt轉換word文件怎麼操作 把ppt轉換成word純文字
- excel表格怎麼轉換成word文件 表格資料轉換到文件Excel
- 格式轉換分享:怎麼把mp4轉換成mp3?
- 將bmp檔案轉換成JPEG(待修改,目前可轉換但圖片倒轉)
- Python秒轉換成時間(時分秒)Python
- Double型別轉換成BigDicimal問題型別
- Oracle 12c nocdb轉換成cdbOracle
- Leecode709. 轉換成小寫字母
- u8 陣列轉換成 string陣列
- Keras 轉換成 Tensorflow 模型格式並使用Keras模型
- pdf的表格怎麼轉換成word?
- stirlingpdf PDF 工具將PDF轉換成Word
- 用Java實現samza轉換成flinkJava
- 如何用Python把pdf轉換成wordPython
- php將arm轉換成mp3PHP