Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> checking the input of ACCEPT
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
![]() |
![]() |