.ora-code.com

Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
ksh select value into variable from v$ view

ksh select value into variable from v$ view

2005-07-22       - By Khemmanivanh, Somckit
Reply:     1     2     3     4     5     6     7     8     9     10  

Not sure why my e-mail substitutes my name sometimes...


Somckit

Thanks.
-- --Original Message-- --
From: oracle-l-bounce@(protected)
[mailto:oracle-l-bounce@(protected)]
Sent: Friday, July 22, 2005 11:14 AM
To: Brandon.Allen@(protected); barb.baker@(protected);
oracle-l@(protected)
Subject: RE: ksh select value into variable from v$ view

It's because of the backticks.

This is stretching my memory but the backticks are probably casuing it
to interpret the single backslash as an escape character rather than the
backslash character...

Does this work for your shell on Solaris?

Thanks!
-- --Original Message-- --
From: oracle-l-bounce@(protected)
[mailto:oracle-l-bounce@(protected)] On Behalf Of Allen, Brandon
Sent: Friday, July 22, 2005 11:04 AM
To: barb.baker@(protected); oracle-l@(protected)
Subject: RE: ksh select value into variable from v$ view

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@(protected)
[mailto:oracle-l-bounce@(protected)]On Behalf Of Barbara Baker
Sent: Friday, July 22, 2005 10:57 AM
To: oracle-l@(protected)
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@(protected)> 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


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


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