Code Listing 3: Frustrated coworker's attempt to run tabcount function

SQL> CREATE TABLE xyz (abc DATE);
SQL> INSERT INTO xyz VALUES (SYSDATE);
SQL> COMMIT;
SQL> exec DBMS_OUTPUT.PUT_LINE (tabcount('xyz'));
tabcount ERROR:
Unable to find a table or view named "xyz"
Dynamic query:
SELECT COUNT(*) FROM xyz WHERE 1=1
BEGIN DBMS_OUTPUT.PUT_LINE (tabcount('xyz')); END;

*
ERROR at line 1:
ORA-00942: table or view does not exist
ORA-06512: at "SCOTT.TABCOUNT", line 64
ORA-06512: at line 1