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: userenv error

Re: userenv error

From: Stephane Faroult <sfaroult_at_oriole.com>
Date: Thu, 07 Jun 2001 16:26:35 -0700
Message-ID: <F001.00321672.20010607151858@fatcity.com>

lhoska_at_calibresys.com wrote:
>
> Hi,
> Some one (probably developers) dropped number of our application specific
> tables used for user's application log on.
> Not nice of them but at least they did it on their own test database. If
> they did it on production db it would be more stressful.
> At this point tables have been restored.
> Now when attempting to log on to the application user's get this error:
> ORA-02003: invalid USERENV parameter
> Cause: An invalid parameter was specified for the USERENV function.
> Action: Specify one of the allowable parameters TERMINAL, SESSIONID,
> ENTRYID, or NLS_LANG.
> Please bring some light to my problem.
> Thank you very much.
>

May be stupid but ... Are you sure that you are not applying Oracle8 code to an Oracle7 database? The only case when I have seen this message was when trying userenv('INSTANCEID') against an Oracle7 database.

-- 
Regards,

Stephane Faroult
Oriole Corporation
Voice:  +44  (0) 7050-696-269 
Fax:    +44  (0) 7050-696-449 
Performance Tools & Free Scripts
--------------------------------------------------------------
http://www.oriole.com, designed by Oracle DBAs for Oracle DBAs
--------------------------------------------------------------
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Stephane Faroult
  INET: sfaroult_at_oriole.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Thu Jun 07 2001 - 18:26:35 CDT

Original text of this message

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