Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> ACCEPT statement
declare
username char(6);
begin
accept username prompt 'Please enter a username right here: ';
select field
from table
where usr = &username;
end;
This is just a portion of my sql script. When I run it, the first thing I see is this:
Enter a value for username:
I'm assuming this is the generic prompt that comes from the &username part of the where statement.
Why does this run before my "accept" statement?
Dennis Hancy
Eaton Corporation
Cleveland, OH
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Received on Fri Jul 16 1999 - 12:41:48 CDT
![]() |
![]() |