The following example shows how to inactivate an automated statistic on the Personnel.Employee table whose TDSTATS database ID is 101.
CALL TDSTATS.InActivateStat(101,'Personnel','Employee', NULL, NumInActivated); *** Procedure has been executed. *** Total elapsed time was 1 second. NumInActivated -------------- 1