想在执行一条SQL语句后延时几秒种再执行另一条语句:

gethostbyname 2003-06-06 02:21:59
请问有什么好方法吗?不太想用作业DBMS_JOB包实现,谢谢!
...全文
535 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
shuipipi 2003-06-09
  • 打赏
  • 举报
回复
来了,没什么可说的了~
gethostbyname 2003-06-06
  • 打赏
  • 举报
回复
谢谢捧场,来者有分,有空关注一下偶的另一个问题:http://expert.csdn.net/Expert/topic/1885/1885126.xml?temp=.9968378
谢谢!
enhydraboy 2003-06-06
  • 打赏
  • 举报
回复
DBMS_LOCK.SLEEP (
seconds IN NUMBER);

Parameter Description
seconds
Amount of time, in seconds, to suspend the session.

The smallest increment can be entered in hundredths of a second; for example, 1.95 is a legal time value.

btw,you must run the script <ORACLE_HOME>\RDBMS\ADMIN\catio.sql before u execute the procedure.
cenlmmx 2003-06-06
  • 打赏
  • 举报
回复
恭喜!
接点分
gethostbyname 2003-06-06
  • 打赏
  • 举报
回复
不好意思,知道了,dbms_lock.sleep(N);呵呵。

17,078

社区成员

发帖
与我相关
我的任务
社区描述
Oracle开发相关技术讨论
社区管理员
  • 开发
  • Lucifer三思而后行
  • 卖水果的net
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧