![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
When I run the block below, in oracle 10.2.0.3.0, I get the error shown after. Is this a problem with my coding or is it just not possible to run this commad in pl/sql? Thanks DECLARE * * v_dbms_stats * *VARCHAR2(200):= 'EXEC DBMS_STATS.GATHER_SCHEMA_STATS( ownname *=> ''LOAD'', estimate_percent => 100, cascade => *TRUE,options => ''GATHER AUTO'');'; BEGIN * *EXECUTE IMMEDIATE *v_dbms_stats; END; ERROR at line 1: ORA-00900: invalid SQL statement ORA-06512: at line 4 |
#12
| |||
| |||
|
|
When I run the block below, in oracle 10.2.0.3.0, I get the error shown after. Is this a problem with my coding or is it just not possible to run this commad in pl/sql? Thanks DECLARE * * v_dbms_stats * *VARCHAR2(200):= 'EXEC DBMS_STATS.GATHER_SCHEMA_STATS( ownname *=> ''LOAD'', estimate_percent => 100, cascade => *TRUE,options => ''GATHER AUTO'');'; BEGIN * *EXECUTE IMMEDIATE *v_dbms_stats; END; ERROR at line 1: ORA-00900: invalid SQL statement ORA-06512: at line 4 |
#13
| |||
| |||
|
|
When I run the block below, in oracle 10.2.0.3.0, I get the error shown after. Is this a problem with my coding or is it just not possible to run this commad in pl/sql? Thanks DECLARE * * v_dbms_stats * *VARCHAR2(200):= 'EXEC DBMS_STATS.GATHER_SCHEMA_STATS( ownname *=> ''LOAD'', estimate_percent => 100, cascade => *TRUE,options => ''GATHER AUTO'');'; BEGIN * *EXECUTE IMMEDIATE *v_dbms_stats; END; ERROR at line 1: ORA-00900: invalid SQL statement ORA-06512: at line 4 |
#14
| |||
| |||
|
|
When I run the block below, in oracle 10.2.0.3.0, I get the error shown after. Is this a problem with my coding or is it just not possible to run this commad in pl/sql? Thanks DECLARE * * v_dbms_stats * *VARCHAR2(200):= 'EXEC DBMS_STATS.GATHER_SCHEMA_STATS( ownname *=> ''LOAD'', estimate_percent => 100, cascade => *TRUE,options => ''GATHER AUTO'');'; BEGIN * *EXECUTE IMMEDIATE *v_dbms_stats; END; ERROR at line 1: ORA-00900: invalid SQL statement ORA-06512: at line 4 |
#15
| |||
| |||
|
|
When I run the block below, in oracle 10.2.0.3.0, I get the error shown after. Is this a problem with my coding or is it just not possible to run this commad in pl/sql? Thanks DECLARE * * v_dbms_stats * *VARCHAR2(200):= 'EXEC DBMS_STATS.GATHER_SCHEMA_STATS( ownname *=> ''LOAD'', estimate_percent => 100, cascade => *TRUE,options => ''GATHER AUTO'');'; BEGIN * *EXECUTE IMMEDIATE *v_dbms_stats; END; ERROR at line 1: ORA-00900: invalid SQL statement ORA-06512: at line 4 |
#16
| |||
| |||
|
|
When I run the block below, in oracle 10.2.0.3.0, I get the error shown after. Is this a problem with my coding or is it just not possible to run this commad in pl/sql? Thanks DECLARE * * v_dbms_stats * *VARCHAR2(200):= 'EXEC DBMS_STATS.GATHER_SCHEMA_STATS( ownname *=> ''LOAD'', estimate_percent => 100, cascade => *TRUE,options => ''GATHER AUTO'');'; BEGIN * *EXECUTE IMMEDIATE *v_dbms_stats; END; ERROR at line 1: ORA-00900: invalid SQL statement ORA-06512: at line 4 |
#17
| |||
| |||
|
|
When I run the block below, in oracle 10.2.0.3.0, I get the error shown after. Is this a problem with my coding or is it just not possible to run this commad in pl/sql? Thanks DECLARE * * v_dbms_stats * *VARCHAR2(200):= 'EXEC DBMS_STATS.GATHER_SCHEMA_STATS( ownname *=> ''LOAD'', estimate_percent => 100, cascade => *TRUE,options => ''GATHER AUTO'');'; BEGIN * *EXECUTE IMMEDIATE *v_dbms_stats; END; ERROR at line 1: ORA-00900: invalid SQL statement ORA-06512: at line 4 |
![]() |
| Thread Tools | |
| Display Modes | |
| |