输入banner图图片脚本导航/分类

Oracle 存储过程 延迟执行 DBMS_LOCK.SLEEP(60);

  •   
  • declare   
  •   -- Local variables here  
  •   i integer;  
  • begin  
  •   -- Test statements here  
  •    dbms_output.put_line(to_char(sysdate,‘yyyy-MM-dd HH24:MI:SS‘));  
  •    DBMS_LOCK.SLEEP(60);--休眠60秒  
  •    dbms_output.put_line(to_char(sysdate,‘yyyy-MM-dd HH24:MI:SS‘));  
  • end;  
  •   
  •   
  • --输出结果:  
  •   
  • 2012-08-27 16:25:49  
  • 2012-08-27 16:26:49  
  • Oracle 存储过程 延迟执行 DBMS_LOCK.SLEEP(60);

    标签:sda   data   output   存储   acl   int   art   span   highlight