• oracle中字符串连接用||


    oracle中字符串连接用||
    create or replace procedure testIf(idid number) is
    v_name stu.name%type;
    v_age stu.age%type;
    begin
      if idid = 1 then
        update stu set age = age*2 where id = idid;
        select age into v_age from stu where id = idid;
        dbms_output.put_line('age'||v_age);--oracle中字符串连接用||
       elsif idid = 3 then
         update stu set name = 'shitailong' where id = idid;
         select name into v_name from stu where id = idid;
         --oracle中的字符串连接用||
         dbms_output.put_line('name'||v_name);
       else
         update stu set age = age*3 where id = idid;
         select age into v_age from stu where id = idid;
         dbms_output.put_line('age'||v_age);
      end if;
    
    end;
  • 相关阅读:
    day09
    day08
    day05
    day04
    day03
    day02
    LogCat查看Android运行日志
    ADT+SDK,Android开发环境搭建问题
    第二次冲刺周期第十天
    第二次冲刺周期第九天
  • 原文地址:https://www.cnblogs.com/lonely-buffoon/p/6245646.html
Copyright © 2020-2023  润新知