I have a long running (simplified) query like:
BEGIN
FOR i in (SELECT * FROM T WHERE ....)
LOOP
DMBS_OUTPUT.PUT_LINE(i.VALUE);
END LOOP;
END;
/
When I execute it, it takes hours due to large table and complex condition, and my sqldeveloper is basically frozen on that session. I cannot create a new connection, and I have to open a new sqldeveloper instance.
Is there anyway to not block it? Like running in the background, but still output to the console/file? I understand I can create SQL script and run from CLI, but I would like to know if there is any solution in sqldeveloper itself.
