Can anyone tell me how to suppress column headings and/or row counts from a SQL result set that I create via a query run from Command Line Processor.
I'm building RUNSTATS SQL via the following SQL and would like to not have column headings and row counts in the result. It's easy to turn these off in Sybase and Oracle, but I dont' see a way in DB2.
select 'RUNSTATS ON TABLE', tabschema||'.'||tabname, 'AND INDEXES All;'
from sysstat.tables
where tabschema != 'SYSIBM'
If anyone has a better way of building the RUNSTATS SQL I'd like to hear about that too!
I'm building RUNSTATS SQL via the following SQL and would like to not have column headings and row counts in the result. It's easy to turn these off in Sybase and Oracle, but I dont' see a way in DB2.
select 'RUNSTATS ON TABLE', tabschema||'.'||tabname, 'AND INDEXES All;'
from sysstat.tables
where tabschema != 'SYSIBM'
If anyone has a better way of building the RUNSTATS SQL I'd like to hear about that too!