登录本地数据库,为什么总是出现这个错误呢?
db2 connect to lddb
Database Connection Information
Database server = DB2/LINUXX8664 10.5.6
SQL authorization ID = DB2INST1
Local database alias = LDDB
$ db2 listdbdirectory
DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL0104N An unexpected token "END-OF-STATEMENT" was found following
"listdbdirectory". Expected tokens may include: "JOIN
SQLSTATE=42601