473,387 Members | 1,687 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,387 software developers and data experts.

Change format US-1252 to UTF-8

HI All,

I am using Windows,
Database territory = US
Database code page = 1252
Database code set = IBM-1252
Database country/region code = 1
Database collating sequence = UNIQUE

now I want change to UTF-8 format in DB2 , data is in databases .
I am new to DB2, Pl. help me.

Thanks in Advance.

Ravi.

Nov 12 '05 #1
2 8548
Code set (code page) is determined at database creation time and cannot
be changed (UDB Command Reference).

The only option I know would be to move the data to a new database. If
you have a mature application, this could cause issues changing all of
the access mechanisms used by applications. Two copies would allow you
to move to UTF-8 then move back to keep the database name.

If all access to the database is through clients that have a local alias
refering to the database name then moving the data to a new database
would require changing client configurations and would not involve
application changes.

Phil Sherman
Ravi wrote:
HI All,

I am using Windows,
Database territory = US
Database code page = 1252
Database code set = IBM-1252
Database country/region code = 1
Database collating sequence = UNIQUE

now I want change to UTF-8 format in DB2 , data is in databases .
I am new to DB2, Pl. help me.

Thanks in Advance.

Ravi.

Nov 12 '05 #2
Phil Sherman wrote:
Code set (code page) is determined at database creation time and cannot
be changed (UDB Command Reference).

The only option I know would be to move the data to a new database. If
you have a mature application, this could cause issues changing all of
the access mechanisms used by applications. Two copies would allow you
to move to UTF-8 then move back to keep the database name.

If all access to the database is through clients that have a local alias
refering to the database name then moving the data to a new database
would require changing client configurations and would not involve
application changes.


You could work with CATALOG DATABASE and UNCATALOG DATABASE without
affecting any applications/clients.

--
Knut Stolze
Information Integration Development
IBM Germany / University of Jena
Nov 12 '05 #3

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

Similar topics

1
by: Miguel Orrego | last post by:
Hi, My asp pages that display data from databases have suddenly changed the date format they display from UK to US, i.e. 11/17/2001 for 17th Nov 2003. I have checked on the win2k sp3 server...
1
by: Mark | last post by:
Hi, how would I translate this to c#? char ttext; sprintf(ttext,"%2.2i %-.10s %8.3f",1,"Mark",123.24); 01 Mark<6spaces> 123.240 Thanks
4
by: Claudia Fong | last post by:
Hi Is there a way to change a date format dd/mm/yyyy to m/d/yy? I have a textBox where the user should put a date, but no matter what format the user input dd/mm/yyyy or m/d/yy, I need to...
2
by: Kathy Burke | last post by:
Hi, I've read every post I could find but still no luck on why this won't work for me. I have an aspx page (U.S. default, VB, .Net 1.1), where I use the following two variables: Dim varStartTime...
2
by: Shapper | last post by:
Hello, I have this code line: <%# DataBinder.Eval(Container.DataItem, "publication_date") %> Which displays the date and time as follows: 02-04-2005 0:00:00 How can I change the date...
6
by: Marc Robitaille | last post by:
Hello, Hello, I developed a UserControl. It has funny behavior. It is composed of three controls. A texbox, a combobox and a button. There are three properties to indicate the visibility of...
4
by: andreas.w.h.k. :-\) | last post by:
How do I change the address location in the wsdl <wsdl:port name="SearchSoap12" binding="tns:SearchSoap12"> <soap12:address location="http://searchservices/engine/search.asmx" /> </wsdl:port> ...
7
by: Martin Pritchard | last post by:
Hi, Sorry for my ignorance, but I'm a bit new to C++. I've been handed over a C++ app written in VS2002 which I have to convert to VS2005. Apparently it's been written in a C style, but cannot...
4
by: Curious | last post by:
Hi, I have a column in a grid defined as DateTime type. Currently, it's displayed in the format of "5/23/2007", for an example. It seems that it's using the default "short date" format. I...
1
by: ipramod | last post by:
Hi, I have an predefined XML format, lets say: <employee id="1111"> <name></name> <addr></addr> <salary></salary> </employee>
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.