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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: ksh select value into variable from v$ view

RE: ksh select value into variable from v$ view

From: Allen, Brandon <Brandon.Allen_at_OneNeck.com>
Date: Fri, 22 Jul 2005 11:04:18 -0700
Message-ID: <04DDF147ED3A0D42B48A48A18D574C450236131C@NT15.oneneck.corp>


Just curious, could someone please explain *why* the two slashes are required in this case? Is it a Solaris thing? I usually work with ksh on HP and AIX, and I've always used just a single slash with no problems.

Thanks

-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Barbara Baker Sent: Friday, July 22, 2005 10:57 AM
To: oracle-l_at_freelists.org
Subject: Re: ksh select value into variable from v$ view

Thanks to all for the quick responses, but especially Mangus and Somckit.

Putting in 2 slashes instead of 1 does the trick!

On 7/22/05, Barbara Baker <barb.baker_at_gmail.com> wrote:
> Solaris 9 Oracle 9.2.0.4
> Hi! I'm trying to grab a process id from the database and store it in
> a variable. This syntax works if I'm not using a v$ view. If I use a
> v$ view, it ignores what's after the $. I've tried v\$ and v_\$ , but
> neither work.
>

--
http://www.freelists.org/webpage/oracle-l

Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it.

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Jul 22 2005 - 13:05:03 CDT

Original text of this message

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