![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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 |
#3
| |||
| |||
|
|
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 |
#4
| |||
| |||
|
|
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 |
#5
| |||
| |||
|
|
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 |
#6
| |||
| |||
|
|
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 |
#7
| |||
| |||
|
|
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 |
#8
| |||
| |||
|
|
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 |
#9
| |||
| |||
|
|
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 |
#10
| |||
| |||
|
|
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 | |
| |