更改oracle显示消息 [英] Change oracle display message

查看:68
本文介绍了更改oracle显示消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我编写了一个过程来检查文件在oracle目录中是否存在.它工作正常.在屏幕上,我通过使用DBMS_OUTPUT.PUTLINE('MESSAGE HERE');在路径中不存在文件的情况下打印消息,但是在显示消息后oracle打印默认语句 PL/SQL过程成功完成.我不想在屏幕上显示它.

I have written a procedure to check the file exists in the oracle directory. it is working fine. On screen i am printing message if file not exists in path, by using DBMS_OUTPUT.PUTLINE('MESSAGE HERE'); but after displaying message oracle printing default statement PL/SQL Procedure successfully completed. I don't want to display this on screen.

推荐答案

要在成功完成的过程的sql * plus中禁止显示消息,请使用以下命令.

To suppress the message in sql*plus of successfully completed procedure use the following command.

set feedback off

这篇关于更改oracle显示消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆