Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> The ACCEPT Command
From an Oracle Student Guide (Production 1.2 / Volume 1) the following
code is listed:
ACCEPT dept PROMPT 'Provide the department name: '
SELECT *
FROM dept
WHERE dname = UPPER('&dept')
The first line is entered, but then the prompt shows up immediately rather than allowing for the rest of the code to be entered and later executed as a whole block of code. Entering, for example, Sales at the prompt followed by a return ends the routine and the SQL> prompt is waiting for a new command.
What is the trick to getting the ACCEPT command to work?
--
SJWNet
NT Novice
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Fri Oct 01 1999 - 14:20:42 CDT
![]() |
![]() |