$ db2 create db hcba_appstore using codeset UTF-8 territory CN COLLATE USING SYSTEM标签:name,database,create,SQL1001N,SQLSTATE,appstore,2E000,territory,hcba From: https://blog.51cto.com/u_13236892/5760164
出现错误
SQL1001N "hcba_appstore" is not a valid database name. SQLSTATE=2E000
发现问题竟然是
数据库名称不能超过8位
改成
$ db2 create db appstore using codeset UTF-8 territory CN COLLATE USING SYSTEM
执行成功