hi
i use the following code but i get this error
./cv.txt: line 17: unexpected EOF while looking for matching ``'
./cv.txt: line 29: syntax error: unexpected end of file
the file is too big so i write just the part to connect to database
ORACLE_VALUE=`sqlplus -s scott/ZooM1990 << EOFSQL
set head off
select * from emp where empno=7369;
EOFSQL'
echo $ORACLE_VALUE
i also use another code but i get this error
line 18: syntax error near unexpected token from'
./test: line 18:select * from dual'
here is the code
sqlplus / as sysdba
select * from dual
exit
i use another way but i also get an error
syntax error near unexpected token from'
./V: line 21:select ename from emp;'
the code is
sqlplus -s sys as sysdba < startup
spool on;
spool ashu;
connect scott/tiger
select ename from emp;
spool off;
exit;
EOF
cat ashu
so do you have any way that you could help me ???