Why doesn't the following program prompt user in each iteration of while loop ? It prompt user only once and updates all the records with the same redundant data.
My code:
Declare
counter number(4) := 0 ;
begin
counter := &counter ;
while counter > 0 loop
insert into test values ( &Id , '&Name' ) ;
counter := counter - 1 ;
end loop ;
end ;