命令窗口中信息的显示控制

    技术2022-05-20  38

    储存过程中打印出来信息需要设置 set serveroutput on/off; 打开方可看到存储过程中打印出来的信息。

    反馈信息的屏蔽set feedback on/off;

    set feed n;默认是6条,<6条不出现 n rows selected的提示。可以自己设置n值,让其小于6.

    比如:select * from dept; 下方是没有这种提示的。但set feed 4;即可看到提示4 rows selected;

    set term /out/on/off;关闭@d:/del.sql  决定script脚本中 的output 是否在screen上显示

    set echo on/off, decide to display the SQL information of script or not.(决定是否显示脚本中的sql信息)

     

    以上信息仅供个人温习用

     

     


    最新回复(0)