日期:2014-05-17 浏览次数:20778 次
declare -- Local variables here pm_name varchar(20); begin select name into pm_name from users; dbms_output.put_line(pm_name); if pm_name = '李四' then --写逻辑 else --写逻辑 end if; end;