Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经广泛搜索了如何在 Oracle SQL 中输出消息。我已经阅读了很多关于 dbms_output.put_line 和 dbms_output.get_line 的内容,并尝试使用这两种方法,但都无法正常工作。使用 Oracle SQL Developer 第 2 版。
我不确定您使用的是什么应用程序,但一般来说,要将DBMS_OUTPUT缓冲区输出到您的客户端,您首先需要发出SET SERVEROUTPUT ON.
DBMS_OUTPUT
SET SERVEROUTPUT ON
请参阅http://www.adp-gmbh.ch/ora/sqlplus/serveroutput.html。