问题
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