To call a PLSQL statement from the most of applications/languages you have to try some of the following, It depends on where you are playing:
Option 1. Without /.
begin
dbms_utility.analyze_schema('MCC','ESTIMATE',30);
end;
Option 2. With /
begin
dbms_utility.analyze_schema('MCC','ESTIMATE',30);
end;
/
0
Piyush
On
You need to set the server output on before executing the procedure in SQL Developer. Kindly try below code:
SET SERVEROUTPUT ON;
execute dbms_utility.analyze_schema('MCC','ESTIMATE',30);
If you still get the same error then please open your SQL*PLUS and check if PLSQL is installed in it.
0
dhananjay singh
On
In Oracle 10g people face ORA-0900 Invalid SQL statement. Solution is try to execute stored procedure by placing the stored procedure between BEGIN and END keywords.
The execute sentence is only for SQL*Plus utility.
To call a PLSQL statement from the most of applications/languages you have to try some of the following, It depends on where you are playing:
Option 1. Without
/
.Option 2. With
/