唐僧还在拜佛求经路。  

select  ename,&column2 from scott.emp; 输入sal;   /替代标量;
  select * from &tab;
  select * from scott.emp where sal> &sal ;2000
  select * from scott.emp where ename=upper('&salary');  SCOTT;
  define col=comm
  define 查看变量
  select ename,&col from scott.emp;
  undefin col 取消定义的变量
  &&sal=sal就相当于define命令,链接断掉就没了。
  set verify off 关闭校验环境变量~

posted on 2017-10-04 10:24  唐僧还在拜佛求经路。  阅读(132)  评论(0编辑  收藏  举报