Displaying debug output in Oracle SQL Developer [duplicate]

风流意气都作罢 提交于 2020-01-16 10:09:08

问题


I am using oracle SQL developer and I have an AFTER UPDATE ON trigger that I would like to get some debug output from, something like 'Inserted 5 rows into table A';

I have tried doing this with dbms_output, calling

dbms_ouput.put_line('mytext')

with the text that I want printed. However, even when my trigger activates, I don't get any output on the dbms output windows (yes I have enabled dbms output and activated the connection in the dbms output panel).

I assume that is because the output is buffered and I need to somehow flush it? If yes how do I do that? Should I even be using dbms_output to accomplish what I need?

来源:https://stackoverflow.com/questions/57521108/displaying-debug-output-in-oracle-sql-developer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!