I am facing the same issue...

script is terminating in between due to SQL exit

I am trying below script


script is terminating at exit line.

Please help...