Hello,
I am having trouble moving data from a CLOB to a NCLOB column.
My current table structure for table fmattachmentemb ed:
--------------------------------------------------------
fmattachmentid number(10,0) not null,
fmvalue clob null,
fmextension varchar2(4) null,
fmsize number(8,0) null
New structure desired:
----------------------
CREATE TABLE xxattachmentemb ed (
fmattachmentid number(10,0) not null,
fmvalue nclob null,
fmextension nvarchar2(4) null,
fmsize number(8,0) null )
Now when I execute the insert statement, below, to move the existing data
into the new table structure the
following error is encountered: "ORA-01482: unsupported character set".
Any ideas on how to fix this?
Insert Statement to move the data:
----------------------------------
INSERT /* APPEND */ INTO xxattachmentemb ed nologging
SELECT fmattachmentid
,Translate(fmva lue USING NVARCHAR_CS )
,fmextension
,fmsize
FROM fmattachmentemb ed
/
Drop the old table:
DROP TABLE fmattachmentemb ed
/
RENAME xxAttachmentEmb ed TO fmAttachmentEmb ed
/
Thanks,
Rob Panosh
Advanced Software Designs
I am having trouble moving data from a CLOB to a NCLOB column.
My current table structure for table fmattachmentemb ed:
--------------------------------------------------------
fmattachmentid number(10,0) not null,
fmvalue clob null,
fmextension varchar2(4) null,
fmsize number(8,0) null
New structure desired:
----------------------
CREATE TABLE xxattachmentemb ed (
fmattachmentid number(10,0) not null,
fmvalue nclob null,
fmextension nvarchar2(4) null,
fmsize number(8,0) null )
Now when I execute the insert statement, below, to move the existing data
into the new table structure the
following error is encountered: "ORA-01482: unsupported character set".
Any ideas on how to fix this?
Insert Statement to move the data:
----------------------------------
INSERT /* APPEND */ INTO xxattachmentemb ed nologging
SELECT fmattachmentid
,Translate(fmva lue USING NVARCHAR_CS )
,fmextension
,fmsize
FROM fmattachmentemb ed
/
Drop the old table:
DROP TABLE fmattachmentemb ed
/
RENAME xxAttachmentEmb ed TO fmAttachmentEmb ed
/
Thanks,
Rob Panosh
Advanced Software Designs
Comment