Chinaunix

标题: 如何查看某个表空间包含哪些表?谢谢 [打印本页]

作者: jessiezhouj    时间: 2007-03-08 14:18
标题: 如何查看某个表空间包含哪些表?谢谢
如题,,,请高手指教。
作者: pjj0618    时间: 2007-03-08 15:47
SELECT DISTINCT TABNAME FROM SYSCAT.TABLES WHERE TYPE='T' AND TBSPACE='TBSPACE_Name' FOR FETCH ONLY;
作者: daocr    时间: 2007-03-08 19:45
db2 "list tables"|more
作者: itubie    时间: 2007-03-08 20:20
select tabname, tableid from syscat.tables where tbspaceid=0

just this

i
sure
作者: jessiezhouj    时间: 2007-03-09 09:24
已解决,谢谢!




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2