Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: analyze a table ,but get a ORA-00959 & ORA-06512
On Dec 12, 6:28 pm, gazzag <gar..._at_jamms.org> wrote:
> On 12 Dec, 10:16, one..._at_gmail.com wrote:
>
> > But,my db have the tbs_temp tablespace , it is the default temporary
> > tablespace .
>
> > DBMS_STATS should be use it but temp tablespace.
>
> What does the following query return?
>
> SQL> select temporary_tablespace
> from dba_users
> where username = 'SYSTEM';
>
> HTH
>
> -g
that's the problem:
SQL> select temporary_tablespace from dba_users where
username='SYSTEM';
TEMPORARY_TABLESPACE
User altered.
SQL> select temporary_tablespace from dba_users where username='SYSTEM';
TEMPORARY_TABLESPACE
ORA-00959: tablespace 'TEMP' does not exist ORA-06512: at "SYS.DBMS_STATS", line 10301 ORA-06512: at "SYS.DBMS_STATS", line 10315 ORA-06512: at line 1
did i miss some step ? Received on Wed Dec 12 2007 - 04:55:35 CST