Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: UNIX-Oracle script interface help
I can't know excatly what you want.
If you just want to display TEST word, I think you change a little as below:
#!/bin/ksh
LOGNAME=testid
PASSWORD=testpw
SPOOL_FILE=./test.log
sqlplus -s $LOGNAME/$PASSWORD <<!
spool $SPOOL_FILE
set heading off
set linesize 300
select 'E1', a.sls_org_cd, a.dist_chnl_cd,
a.doc_crncy_cd, a.cust_grp_cd, a.matl_cd, b.matl_nm
spool off
!echo "TEST"
S.R.LEE Received on Wed Dec 09 1998 - 00:00:00 CST
![]() |
![]() |