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: reading variables

RE: reading variables

From: Lance Prais <lprais_at_ts.checkpoint.com>
Date: Wed, 09 Jan 2002 15:55:37 -0800
Message-ID: <F001.003EBAC1.20020109153531@fatcity.com>

I am using toad.

-----Original Message-----
Sent: Wednesday, January 09, 2002 3:02 PM To: Multiple recipients of list ORACLE-L

& variables work fine in sqlplus but not anywhere else, In what tool are you programming?

lprais_at_ts.checkpoint.com wrote:

>If I use the following for to reference a variable in my code:
>Update Primus_Temp_Dump set owner =(&test) where secure_id = Secure;
>
>I get this compile error:
>PLS-00103: Encountered the symbol "&" when expecting one of the following:
>
>This is how you are supposed to reference variables in a SQL Statement?
>
>If I do this:
>Update Primus_Temp_Dump set owner =('&test') where secure_id = Secure;
>
>I do not get the error but it passes &test into my query and it fails
>
>Please help
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: orantdba
  INET: orantdba_at_netscape.net

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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Lance Prais
  INET: lprais_at_ts.checkpoint.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 Wed Jan 09 2002 - 17:55:37 CST

Original text of this message

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