I m writing the following code in plsql for a user input but I don t know why its not working. I ll be thankful for a needed help in correcting it.
declare
-- Local variables here
i number(10);
id number(4);
begin
i := 8||dbms_random.value(10000,99999);
i := i * 10000 + &id;
dbms_output.put_line(i);
end;