What is the simplest (preferably without any new table creation) way of running a database query which takes long time (at least several minutes) in Oracle DB?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Consider using DBMS_LOCK.SLEEP(300), where parameter - number of seconds to wait.
回答2:
DBMS_LOCK.sleep
(http://www.oracle-base.com/articles/9i/UsefulProceduresAndFunctions9i.php)