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: Read user input inside plsql code

RE: Read user input inside plsql code

From: Regis Biassala <Regis.Biassala_at_datalex.ie>
Date: Mon, 12 May 2003 08:52:14 -0800
Message-ID: <F001.00596DAC.20030512085214@fatcity.com>


there's no way....sorry

-----Original Message-----
Sent: Monday, May 12, 2003 5:17 PM
To: Multiple recipients of list ORACLE-L

Hi Listers,

I'm about writing a code to prompt user to enter some data and the code do some verification and subsequently prompt him for further information. Basically the pseudocode looks like the following:

define a = Y ;
define b = N;
define c = 10;

accept a prompt 'Enter value of a: ';

BEGIN
IF('&&a' = 'Y')
THEN
DBMS_OUTPUT.PUT_LINE('Enter value of c :');   ACCEPT c;
  IF &&c = 10 THEN

The problem the ACCEPT nor PROMPT doesn't work inside the
PL/SQL code. Do you have any suggestion to do the code interact with user?

Thank you in advance.

Ben   



Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com
--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Kader Ben
  INET: kaderb_at_yahoo.com
Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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).

This electronic transmission is strictly confidential and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, you must not disclose, copy or take any action in reliance of this transmission. If you have received this transmission in error, please notify the sender as soon as possible.

This footnote also confirms that this message has been swept for computer viruses.


--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Regis Biassala
  INET: Regis.Biassala_at_datalex.ie

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Mon May 12 2003 - 11:52:14 CDT

Original text of this message

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