Fri Aug 11 2023 09:16:26 GMT+0000 (Coordinated Universal Time)
Saved by @austin
DECLARE n number := 0; cursor c_data is SELECT coloumn FROM table; -- Your query here BEGIN FOR data_row IN c_data LOOP n := n + 1; DBMS_OUTPUT.PUT_LINE('Row ' || n || ': ' || data_row.column_name); END LOOP; END;
Copy this HTML code:
Preview:
open_in_newInstructions on embedding in Medium
Comments