I want to execute a PL/SQL procedure which is inside a .sql file.
I'm calling my .sql file with SQL*Plus like this :
@myfile.sql
And here is myfile.sql
declare 
    listTotal number := 0;
    nbrCommit number := 200;
begin
    select count(1) into listTotal from MKTMLF.TMP_ID_CLI_SUPPR;
    [... different updates here ....]
commit;
    if listTotal > nbrCommit THEN
        [... different updates here ....]
        commit;
    end if;
end;
When i paste that PL/SQL inside Oracle SQL developer it's OK, it tells me "Procedure PL/SQL finished" but when i do it with SQL*Plus it just show me a number
55
and nothing else! Actually i have found that these number is the number of lines inside my file.sql.
What is the problem? Why is it OK inside Oracle SQL developer and with SQL*Plus?
 
     
    