I run stored Oracle procedure in my batch file and it executed. Now i want to execute the second procedure, but script executes only first. Where i made mistake?
#!/bin/bash
sqlplus -s my_scheme@database/pass<<end
execute first_procedure();
commit;
exit;
END
execute second_procedure();
commit;
exit;
END
I read some internet =) but find information only about running one procedure. Help needed.
Change it to this: