Quote:
Originally posted by GertK
runstats isn't a SQL statement. You need to run it as a system command ('db2 runstats on table...') or using the db2Runstats API.
regards, Gert
|
Can you suggest how I can run it as a systems command from a
VB application? At present I am calling the shell to run the batch script which executes the runstats command. But this also means that I need to copy the DOS batch script everytime I install the application.
Is there any other way to do it, for example, by using some
VB object?
Thanks