I'm calling a Oracle PL/SQL code from shell script which takes time to finish, but after completion of PL/SQL code the shell script session is not terminated and also still shows as active when is type ps … -aef|grep 'SQL*PLUS'. Any suggestion why the shell script session is not terminated. Note : PL/SQL code has no issue and ran successfully. I have used cron job to run the shell script. The shell script is terminated when Data is less to process.
In PL/SQL, I'd do it the other way round:
ALTER SYSTEM DISCONNECT SESSION
...I don't know your requirement of course, but could it be solved with resource profiles to limit user connections?
Thanks.
Encoding complier
I'm afraid we are an Atlassian community, not an Oracle one.
Some of us might be able to help, but I don't want you to be left hanging here - there's little chance this community will respond. You may want to ask the question in an Oracle forum, rather than an Atlassian one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.