【发布时间】:2016-06-22 21:04:52
【问题描述】:
我需要删除一个具有小写名称的表,即academy
但是,当我执行 db2 drop table academy 或 db2 drop table "academy" 时,我得到:
DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL0204N "DB2INST1.ACADEMY" is an undefined name. SQLSTATE=42704
同样的命令也适用于大写的表名。
当我列出我的表时,我有> db2 LIST TABLES
Table/View Schema Type Creation time
------------------------------- --------------- ----- --------------------------
AA DB2INST1 T 2016-06-07-14.23.08.927146
MYNEWTABLE DB2INST1 T 2016-06-07-14.29.50.859806
academy DB2INST1 T 2016-06-07-17.05.27.510905
【问题讨论】:
-
好像进入命令行处理器后,bug消失,
drop table "academy"返回DB20000I The SQL command completed successfully.
标签: db2 case-sensitive database-administration db2-luw