Hello, sorry if this has been asked before, I couldn't find what I was looking for.
I know how to connect to Oracle and execute stored procedures from a shell script, but what I would like to do is return a value from a table and use it in my script.
For Example, If I had a table Called TableX that had a value called ProcessToday and it was set to 'Y', I would like to read that value and set a variable in my shell script so I could do something like
TheValue= (returned value from query)
if [ $TheValue = 'Y']
.....
Anyone know if this is possible and how I would set this up? Thanks in advance.