Error while executing Dbms_Stats.GATHER_TABLE_STATS [message #226694] |
Mon, 26 March 2007 04:01 |
dbasif
Messages: 35 Registered: March 2006 Location: Bangalore, India
|
Member |
|
|
Hi ,
I am compiling this procedure for gathering table statistics and getting following err :-
CREATE OR REPLACE PROCEDURE TAB_ANALYZE AS
BEGIN
EXECUTE Dbms_Stats.GATHER_TABLE_STATS (ownname=>'RDM',tabname=>'DM_FACT_MOS',estimate_percent=>10,method_opt=>'FOR ALL INDEXED COLUMNS',DEGREE=>6,granularity=>'ALL');
END;
------------------
PLS-00103: Encountered the symbol "DBMS_STATS" when expecting one of the following:
:= . ( @ % ; immediate
The symbol ":=" was substituted for "DBMS_STATS" to continue.
----------------
Any help in this issu.....
Asif
|
|
|
|
|