drwine 发表于 2007-12-21 00:02

【求助】如何确定表所属的表空间

使用dbschema -t表名 -d 库名 -ss 卸载的表机构中有,但不知道有什么方法得到一个文本
表名|表空间|

最好能从系统表中取,但我不知道从哪张表中取。

wenlq 发表于 2007-12-21 08:49

select tabname ,b.name from systables,sysmaster:sysdbspaces b
where tabid > 99
and tabtype ='T'
and b.dbsnum = trunc(partnum/pow(2,20))
页: [1]
查看完整版本: 【求助】如何确定表所属的表空间