Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: reading unix host variables within PL/SQL

Re: reading unix host variables within PL/SQL

From: <twod_at_not.valid>
Date: 1997/06/16
Message-ID: <5o3rrb$8en$1@vnetnews.value.net>#1/1

rob joss (rob_joss_at_lilly.com) wrote:
: I have not been able to find a way of reading unix host variables from
: either SQLPLUS or within PL/SQL.

Best done in a Unix shell script:

#!/bin/sh

text='Hello'
sqlplus -s / << !
SELECT '${text}' FROM dual;
exit
!

Stored PL/SQL would be a little trickier !

IAP

--
In an attempt to reduce junk email I use an invalid 'From' address.
My correct email address can can be determined by replacing 'not.valid' with 
'value.net'
Received on Mon Jun 16 1997 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US