ITPub博客

首页 > 数据库 > Oracle > set echo on/off example

set echo on/off example

原创 Oracle 作者:1558521716 时间:2018-03-11 23:50:17 0 删除 编辑
1.create echo.sql script with content in the following text

点击(此处)折叠或打开

  1. set echo on
  2. select ename from emp where rownum <2;
  3. set echo off --这后面的查询语句不会显示出来
  4. select dname from dept where rownum <2
2.execute @/directory_path/echo.sql   your can use pwd query directory or find / -name "file_name"

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/31479892/viewspace-2151721/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2017-08-01

  • 博文量
    6
  • 访问量
    6815