This is the query that never ends,
It just goes on and on, my friends.
Some people started fetching not knowing what it was,
And now they can’t stop fetching forever just because…This is the query that never ends,
…
CREATE TYPE number_table_type IS TABLE OF NUMBER; CREATE FUNCTION row_generator RETURN number_table_type PIPELINED IS BEGIN LOOP FOR i IN 1..100 LOOP PIPE ROW (i); END LOOP; END LOOP; RETURN; END; SELECT * FROM TABLE(row_generator);
Filed under: SQL Tagged: humour, PL/SQL, SQL, the-feuerstein-challenge
