Reputation: 23
I am trying to display the results of a query in a region. However, the region just displays "New" and not the actual output. Could you please help?
PL/SQL code:
DECLARE
V_APP_COUNT NUMBER; BEGIN
SELECT COUNT(*) INTO V_APP_COUNT FROM APPLICATION;
DBMS_OUTPUT.PUT_LINE(V_APP_COUNT);
END;
Upvotes: 0
Views: 867
Reputation: 142713
Query you posted suits better to a report (pick any you want - interactive, classic or grid), not to PL/SQL Dynamic Content. It expects from you to actually "draw" the page using HTML code. Basically, your PL/SQL would use htp.p
calls in order to display the result.
As I said - use a report.
Upvotes: 2