java編程
Specifying the USING CHAR_CS argument converts text into the database character set
Specifying the USING NCHAR_CS argument converts text into the national character set
Example
CREATE TABLE t
nchar_col nchar(
INSERT INTO t
VALUES (
SELECT * FROM t
CHAR_COL NCHAR_COL
Hi Bye
Example
UPDATE t
nchar_col = TRANSLATE(char_col USING NCHAR_CS);
UPDATE t
char_col = TRANSLATE(nchar_col USING CHAR_CS);
SELECT * FROM t
CHAR_COL NCHAR_COL
Hi Hi
Example
UPDATE t
nchar_col = TRANSLATE(
UPDATE t
char_col = TRANSLATE(N
SELECT * FROM t
CHAR_COL NCHAR_COL
deo deo
表不多的話可以這樣
//創建一個新表
create table newtbname as select col
rename tbname to tbname_temp;//將原先的表重新命名
rename newtbname to tbname;//把新創建的表改名為原先的表名
這樣就轉換過來了
作完後
這樣應該可以解決問題
From:http://tw.wingwit.com/Article/program/Oracle/201311/16546.html