Chinaunix

标题: 求助:怎么把数据库里所有的表名取出来 [打印本页]

作者: stcwl    时间: 2006-09-11 10:48
标题: 求助:怎么把数据库里所有的表名取出来
各位高手,我想把数据库里所有的表名都导出来
请问该怎么做呢?
作者: peter_xiong    时间: 2006-09-11 11:16
select tabname from systables;
作者: heijieweb    时间: 2006-09-11 17:03
select tabname from systables where tabname not like "sys%" and tabid > 99
作者: stcwl    时间: 2006-09-11 21:17
这个"tabid > 99 "是什么意思?
作者: IFMXDBA    时间: 2006-09-11 22:22
标题: 回复 4楼 stcwl 的帖子
normally, system catalog tables's tabid has the value between 0 and 99




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