473,326 Members | 2,102 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

copy a DB from PC1 to PC2

I want to export/import a DB from PC1 to PC2

PC 1:
-----
SQL> select * from nls_database_parameters;
PARAMETER VALUE
NLS_CHARACTERSET WE8ISO8859P1

PC 2: NLS_LANG=AMERICAN_AMERICA.UTF8
-----

An error occurs when importing the dump file:
IMP-00016: required character set conversion (type 31 to 871) not supported

I tried converting the character set at PC1:
ALTER DATABASE CHARACTER AMERICAN_AMERICA.UTF8;
ORA-12712: new character set must be a superset of old character set

What to do?
Is there a way to do the conversion anyway? (ie. when exporting ?)
Changing the settings at PC2 to accept the character set of PC1 ?
Jul 19 '05 #1
1 3414
Caroline wrote:
I want to export/import a DB from PC1 to PC2

PC 1:
-----
SQL> select * from nls_database_parameters;
PARAMETER VALUE
NLS_CHARACTERSET WE8ISO8859P1

PC 2: NLS_LANG=AMERICAN_AMERICA.UTF8
-----

An error occurs when importing the dump file:
IMP-00016: required character set conversion (type 31 to 871) not supported

I tried converting the character set at PC1:
ALTER DATABASE CHARACTER AMERICAN_AMERICA.UTF8;
ORA-12712: new character set must be a superset of old character set

What to do?
Is there a way to do the conversion anyway? (ie. when exporting ?)
Changing the settings at PC2 to accept the character set of PC1 ?


Be warned: you may loose data - the least you probably will
get is gibberish (malformed characters)
Having said that, I think the following should work:
export PC1, make sure your environment has WE8ISO8859P1
for characterset. Export log should mention the used set.
Import on PC2, making sure you have UTF8 set.

You want to import and export without any warnings
"Character conversion possible" in either of the
logs; that is neither the import log, nor the
export log.
In this manner you will not be facing any conversion.
--

Regards,
Frank van Bortel

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

42
by: Edward Diener | last post by:
Coming from the C++ world I can not understand the reason why copy constructors are not used in the .NET framework. A copy constructor creates an object from a copy of another object of the same...
15
by: A | last post by:
Hi, A default copy constructor is created for you when you don't specify one yourself. In such case, the default copy constructor will simply do a bitwise copy for primitives (including...
2
by: Alex | last post by:
Entering the following in the Python shell yields >>> help(dict.copy) Help on method_descriptor: copy(...) D.copy() -> a shallow copy of D >>>
24
by: rdc02271 | last post by:
Hello! Is this too crazy or not? Copy constructor: why can't I copy objects as if they were structs? I have a set of simple objects (no string properties, just integers, doubles) and I have to...
10
by: utab | last post by:
Dear all, So passing and returning a class object is the time when to include the definition of the copy constructor into the class definition. But if we don't call by value or return by value, ...
22
by: clicwar | last post by:
A simple program with operator overloading and copy constructor: #include <iostream> #include <string> using namespace std; class Vector { private: float x,y; public: Vector(float u, float...
3
by: maheshkadam | last post by:
Hi friends I am new to perl so please guide me. I have one application which created backup log file every day.But it appends that file so you can see logs for different day in one file only. ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.