Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Database/JDBC/SQL/JDO/Hibernate » DB2  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 如何修改已建好的数据库的codepage??
amie





发贴: 3
积分: 0
于 2004-05-07 17:48 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我已经有建好的数据库,原codepage设定为950,想要简繁体都可以存入,想要修改codepage为1208(utf-8),请问要如何修改呢??
DB2为7.2.3 谢谢!!



作者 Re:如何修改已建好的数据库的codepage?? [Re:amie]
lcwling

Java咋就这么难呢?!

CJSDN高级会员


发贴: 367
积分: 82
于 2004-05-07 19:59 user profilesend a private message to usersend email to lcwlingsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
amie wrote:
我已经有建好的数据库,原codepage设定为950,想要简繁体都可以存入,想要修改codepage为1208(utf-8),请问要如何修改呢??
DB2为7.2.3 谢谢!!


在缺省的情况,中文在系统中是没有办法输入,就算是想尽方法输入进去,也会是乱码。那该怎么办呢?别急,在DOS提示符下,执行下面的两组命令使可把缺省值改为系统所使用内码。

(一)
installutil lscodepage -dbset DBName admin_user admin_password
(二)
installutil setdbcodepagetoplatformcodepage -dbset DBName –force admin_user admin_password




认真对待每一天吧,因为生活每天都是新的!
作者 Re:如何修改已建好的数据库的codepage?? [Re:amie]
lcwling

Java咋就这么难呢?!

CJSDN高级会员


发贴: 367
积分: 82
于 2004-05-07 20:03 user profilesend a private message to usersend email to lcwlingsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
不过是DB2 V8.1,如果有什么问题还请指正,小的也是前段时间备置Rational ClearQuest 发现的,因为DB2对clearquest支持最好!


lcwling edited on 2004-05-08 09:04

认真对待每一天吧,因为生活每天都是新的!

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923