$ db2 rename tablespace IBMDB2SAMPLEREL to DB2SAMPLERELDB20000I The SQL command completed successfully.$ db2stop force$ db2start$ db2 connect to sample$ db2 list tablespaces Tablespace ID ...
显示全部$ db2 rename tablespace IBMDB2SAMPLEREL to DB2SAMPLEREL
DB20000I The SQL command completed successfully.
$ db2stop force
$ db2start
$ db2 connect to sample
$ db2 list tablespaces
Tablespace ID = 3
Name = DB2SAMPLEREL
Type = Database managed space
Contents = All permanent data. Large table space.
State = 0x0000
我试过了,没有问题,你的DB2版本和操作系统版本是多少?
收起