首页 > 数据库 >SQL1001N is not a valid database name. SQLSTATE=2E000

SQL1001N is not a valid database name. SQLSTATE=2E000

时间:2022-10-16 11:05:30浏览次数:44  
标签:name database create SQL1001N SQLSTATE appstore 2E000 territory hcba

$ db2 create db hcba_appstore using codeset UTF-8 territory CN COLLATE USING SYSTEM
出现错误
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
执行成功

标签:name,database,create,SQL1001N,SQLSTATE,appstore,2E000,territory,hcba
From: https://blog.51cto.com/u_13236892/5760164

相关文章