- Ensure that you have your Dbms Output window open through the view option in the menubar.
- Click on the green '+' sign and add your database name.
- Write 'DBMS_OUTPUT.ENABLE;' within your procedure as the first line. Hope this solves your problem.
DBMS_OUTPUT程序包是我们在Oracle开发过程中常用的一个包体,使用该包我们可以从存储过程、包或触发器发送信息(messages)。Oracle推荐在debug PL/SQL程序时使用该程序包,不推荐使用该包来做报表输出或其他格式化输出之用。概述DBMS_OUTPUT包主要用于调试PL/SQL程序,或者在SQL*PLUS命令中显示信息(displaying message)和报表
dbms_xplan
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M