我是靠谱客的博主 清新信封,这篇文章主要介绍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 更改表名的全部内容,更多相关DB2内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(133)

评论列表共有 0 条评论

立即
投稿
返回
顶部