hi all
i have little problem below is my shell script
a=`sqlplus fss_cst/fss_cst@dolp1 << EOF
SET PAGESIZE 0 FEEDBACK OFF TRIMOUT ON;
select process from lfs$ta_process where valid_to_dat=to_date('9/16/2010','mm/dd/yyyy');
EOF`
echo ${SQL}
the script name is test2.sh
when i execute this ./test2.sh nothing happen and it shows blank
but if do it in the same in database then it shows the value
pls help me regarding this
hi sorry that was my mistake i changed the variable too then it is gicing such type of message below
/svc/hin5/work/deepak1/C10 > ./test2.sh
SQL*Plus: Release 10.2.0.4.0 - Production on Tue Sep 28 17:43:25 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> SQL> 2 3 4 5 6
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
/svc/hin5/work/deepak1/C10>