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

Home -> Community -> Usenet -> c.d.o.misc -> checking the input of ACCEPT

checking the input of ACCEPT

From: Jörg Schneider <Joerg.Schneider_at_ORGAPLAN_NOSP.de>
Date: Fri, 5 Jul 2002 16:11:10 +0200
Message-ID: <ag4991$i3e$1@newsreader2.netcologne.de>


Hello together,

we want to drop users in a database by a script with sqlplus. There should be warnings and an input like "The user will be deleted. Are you shure? (Y/N)" before the drop. Now we have to check the input wether there is "Y" or "N"? How can we do this?

Source:

ACCEPT x char PROMPT "The user will be deleted. Are you shure? (Y/N)"

Thank you for helping

Jörg Received on Fri Jul 05 2002 - 09:11:10 CDT

Original text of this message

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