Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Oracle within a Unix Script
Yes - a great feature and an annoyance all in one.
I don't think you can escape the dollars - they will always get expanded even when in quotes. Try preceding them with a back-slash '\' just in case I am wrong.
You could try putting the dollars themselves into variables for expansion. It won't get expanded twice:-
export TAB1='v$session'
sqlplus <<-ENDSQL
select *
from $TAB1;
ENDSQL
Regards,
JJ
jason.judge_at_virgin.net
Received on Mon Oct 18 1999 - 17:19:10 CDT