1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
SQL*Plus: Release 9.2.0.1.0 - Production on Je Sep 13 11:19:58 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connecté à :
Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
With the Partitioning option
JServer Release 9.2.0.4.0 - Production
SQL> begin
2 DBMS_STATS.GATHER_TABLE_STATS(ownname => 'CPVIJ', tabname => 'WAREHOUSE_REDEC_RTE', estimate_percent => DBMS_STATS.AUTO_SAMPLE_SIZE, cascade => TRUE);
3 end;
4 /
begin
*
ERREUR à la ligne 1 :
ORA-00933: La commande SQL ne se termine pas correctement
ORA-06512: à "SYS.DBMS_STATS", ligne 9375
ORA-06512: à "SYS.DBMS_STATS", ligne 9389
ORA-06512: à ligne 2
SQL> ed
écrit fichier afiedt.buf
1 begin
2 DBMS_STATS.GATHER_TABLE_STATS(ownname => 'CPVIJ', tabname => 'WAREHOUSE_REDEC_RTE', estimate_percent => 0, cascade => TRUE);
3* end;
SQL> /
begin
*
ERREUR à la ligne 1 :
ORA-00933: La commande SQL ne se termine pas correctement
ORA-06512: à "SYS.DBMS_STATS", ligne 9375
ORA-06512: à "SYS.DBMS_STATS", ligne 9389
ORA-06512: à ligne 2
SQL> ed
écrit fichier afiedt.buf
1 begin
2 DBMS_STATS.GATHER_TABLE_STATS(ownname => 'CPVIJ', tabname => 'WAREHOUSE_REDEC_RTE', estimate_percent => 10, cascade => TRUE);
3* end;
SQL> /
Procédure PL/SQL terminée avec succès.
SQL> |
Partager