Client Automation - 14. and above
DsmMsSqlOpt Syntax:
DsmMsSqlOpt.bat [-pagecount=n] [-maxfrag=m] [-usereindex] [ {local | ServerName} [MDBName] ]
Ex: DsmMsSqlOpt.bat -maxfrag=30 -usereindex
Ex: DsmMsSqlOpt -maxfrag=10
Reminder:
Based on fair usage, this script should be run about once a week
Note:
The %temp% variable must be set to an appropriate working directory before launching the DsmMsSqlOpt.bat script.
Additional Info:
There is a Proper Care and Feeding of your SQL MDB, guide that goes farther in depth of what you can do to keep your MDB running more efficiently.