Output message problems with procedure and function

喜夏-厌秋 提交于 2019-12-25 01:37:01

问题


I have successfully created a function and a trigger but the output does not seem to be showing when i execute it just says procedure completed successfully. It does not display the total cost.


回答1:


To see the output from the DBMS_OUTPUT package, you must enable it. That depends on the tool you are using.

  • in SQL+, set the command set serveroutput on before running the procedure
  • in TOAD, click on the Output On/Off button in the DBMS_OUTPUT tab
  • in SQL Developer you also have a tab named DBMS_OUTPUT, click on the the first icon to enable the output


来源:https://stackoverflow.com/questions/20226210/output-message-problems-with-procedure-and-function

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