DB2 更改表名

db2 => set schema db2admin
DB20000I  The SQL command completed successfully.


db2 => rename table db2admin.testtable to db2admin.testtable1
DB21034E  The command was processed as an SQL statement because it was not a 
valid Command Line Processor command.  During SQL processing it returned:
SQL0108N  The name "TESTTABLE1" has the wrong number of qualifiers.  
SQLSTATE=42601


db2 => rename table testtable to testtable1
DB20000I  The SQL command completed successfully.

你可能感兴趣的:(DB2)