1 package ad_stats_util_pkg AUTHID CURRENT_USER as
2 /* $Header: adustats.pls 115.1 2002/12/10 23:35:06 wjenkins ship $ */
3
4 --
5 -- procedure gather_stats_if_necessary:
6 --
7 -- Gather stats if necessary for a given subsystem, based on the count
8 -- inserted in this run.
9 --
10 -- p_gather_stats_flag = FALSE => Maintain the counts as usual but dont
11 -- actually gather the stats.
12 --
13 -- If p_gather_stats_flag is TRUE, then p_commit_flag is ignored.
14 --
15 -- p_gathered_stats_flag is passed back indicating whether stats were actually
16 -- gathered or not.
17 --
18 procedure gather_stats_if_necessary
19 (p_subsystem_code varchar2,
20 p_rows_inserted_this_run number,
21 p_gather_stats_flag boolean,
22 p_commit_flag boolean,
23 p_gathered_stats_flag out nocopy boolean);
24
25
26 end ad_stats_util_pkg;