Search Results

Search: Posts Made By: MxC
7,471
Posted By Scott
Hi. You have thrown the output away (to...
Hi.

You have thrown the output away (to /dev/null), and one or two more sets wouldn'g go amiss:

Change:

typeset -i sql_ret_val1=`sqlplus -s ${ORA_CONN_STR} <<EOF > /dev/null
SET HEADING OFF...
49,344
Posted By durden_tyler
Alternatively, you could redirect to your log...
Alternatively, you could redirect to your log file instead of /dev/null.
And not use the SPOOL command explicitly.
Like so -


$
$
$ cat tst.sh
#!/usr/bin/bash
ORA_CONN_STR="test/test"...
49,344
Posted By Klashxx
U can use : sqlplus -s ${ORA_CONN_STR} <<EOF...
U can use :

sqlplus -s ${ORA_CONN_STR} <<EOF >/dev/null
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 05:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy