Hello dear DBAs,
May I know Is there any way to execute the SQL query, without entering inside SQL prompt, something like below :
"sqlplus / as sysdba 'select status from v$instance' "
I can execute it successfully via sql script as below :
"sqlplus / as sysdba @/tmp/db_check.sql"
But, I want to execute a single line query, so want to avoid the sql script.
please assist here, Thanks in advance.