Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SQL Developer:Problem with multi byte size after import using excel format

user13038177May 13 2010 — edited May 14 2010
Hi,

Need your help. I am trying to export multibyte characters from our China instance(r11i instance) using SQL Developer's export data via Excel format into an R12 Vision instance. I have a staging table with exactly the same structure in both instances. Prior to export to excel, I check the byte size of the sample data below using LENGTH and LENGTHB sql functions and these are the results:

Sample data = 材料LI(USD)

LENGTH=9
LENGTHB=13

Then, I exported the table as excel file. Afterwards, I used SQL Developer to import the excel file into the table of the target instance. I check the bytesize again and here are the results:

Sample data = 材料LI(USD)

LENGTH=9
LENGTHB=17

The byte size increased from 13 to 17. I did not change anything on the excel file. Just straight forward export to excel file then imported it to the target instance. How come there is an increase in byte size? Has anyone encountered this in SQL Developer? We really need to export the files as excel.


Source:
Database version = 9.2.0.5.0


Target:
Database version = 11.1.0.7.0


Regards,
Wendell

Edited by: user13038177 on May 13, 2010 9:05 PM

Edited by: user13038177 on May 13, 2010 9:06 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 11 2010
Added on May 13 2010
2 comments
1,511 views