i got a logic problem here.
i need to read from a file line by line.
loop
begin
utl_file.get_line(v_file_ptr, v_Line);
exception
when NO_DATA_FOUND then
exit;
end;
end loop;
how do i change the code so that it check with the other record to c if there is duplicated data?
for eg:
record 1 will match with record 2,3,4,5
record 2 will match with 3,4,5
record 3 will match with 4,5
so on...
i was thinking of using 2 pointer. 1 will point to the actual record the other will loop and do the checking. possible?
can 2 pointer point to the same file?
i need to read from a file line by line.
loop
begin
utl_file.get_line(v_file_ptr, v_Line);
exception
when NO_DATA_FOUND then
exit;
end;
end loop;
how do i change the code so that it check with the other record to c if there is duplicated data?
for eg:
record 1 will match with record 2,3,4,5
record 2 will match with 3,4,5
record 3 will match with 4,5
so on...
i was thinking of using 2 pointer. 1 will point to the actual record the other will loop and do the checking. possible?
can 2 pointer point to the same file?