in reply to multiple sql command output to a array variable
What is the problem, do you have some error messages to share?
I am not familiar with v\$instance what is that?
Have you seen DBI recipes ?