Link to home
Start Free TrialLog in
Avatar of vegetasharma
vegetasharmaFlag for India

asked on

ANALYZE OBJECT PROBLEM !!

OPERATING SYSTEM : WINDOWSXP SERVICE PACK 2
PRODUCT : ORACLE 9.X RE. 1.0.1.0.1.1

OUT CRY : SOLVE THIS ERROR PLEASE

SQL> connect hr/hr
Connected.
SQL> execute analyze_object('TABLE','EMPLOYEES');
BEGIN analyze_object('TABLE','EMPLOYEES'); END;

      *
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'ANALYZE_OBJECT' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

any better like this:

execute DBMS_DDL.analyze_object('TABLE','EMPLOYEES');

ASKER CERTIFIED SOLUTION
Avatar of Sujith
Sujith
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vegetasharma

ASKER

I do not know how can I get privilege to execute that !!
please explain !!
I think master sujith solved my problem!!

Thanks for your excuse !!

bye the way if you have kindness please tell me how can I grant previlege for excuting
'analyze object'  by any user or specify user. however it's not neccessary yet because you resolved
my damn problem.

Thanks once again !!