PostgreSQL - PL/pgSQL Fundamentals
Examine the following PostgreSQL code snippet:
What is the main issue with this code?
DO $$
DECLARE
counter INT := 1;
BEGIN
WHILE counter <= 3 LOOP
RAISE NOTICE 'Counter: %', counter;
END LOOP;
END $$;What is the main issue with this code?
