db2 get db cfg for uppdb
db2set
db2set db2codepage=1208(UTF-8) db2set db2codepage=1386(GBK)
describe table xxxxx
ALTER TABLE xxxxxxx ACTIVATE NOT LOGGED INITIALLY WITH EMPTY TABLE
alter table xxxxxx alter column xxx set data type varchar(60) alter table xxxxxx alter column xxx set data type date alter table xxxxxx alter column xxx set data type char(1)
db2start
db2stop
db2 list applications
db2 force application all
db2 activate database <dbname>
原文:http://www.cnblogs.com/fxust/p/7328005.html