DB2 删除某用户下的所有表

DB2数据库删除某schema下的 所有表

select  'DROP TABLE ' || tabname ||' ;'  from syscat.tables where tabschema='YOURSCHEMA'

猜你喜欢

转载自blog.csdn.net/gavid0124/article/details/81046076