How to query tables in a particular schema with le

2019-08-29 11:00发布

问题:

How to query tables in a particular schema with less than 100 rows?

回答1:

First do a runstats on your whole schema. Then:

select tabname from syscat.tables where card < 100 and tabschema = 'theschema'


标签: db2