当前位置:网站首页>Database advanced learning notes - system package
Database advanced learning notes - system package
2022-07-28 11:37:00 【Pingguo stuffed with rice cakes】
1.dbms_output package
effect : Mainly used for debugging pl/sql Program , Or in sql*plus The information in the command (displaying message) And reports
-- Pay attention to knowledge points :
1.1 enable: stay serveroutput on Under the circumstances , Used to make dbms_output take effect ( Open by default )
1.2 disable: stay serveroutput on Under the circumstances , Used to make dbms_output invalid
1.3 put: Write content to memory , wait until put_line Output together
1.4 put_line: Needless to say , The output characters
1.5 new_line: As the end of a line , It can be understood as writing buffer Line break at
2.dbms_job package --oracle Timing task
1. establish
grammar :
variable jobno number;
dbms_job.submit(:jobno,'your_procedure;',next_date,'interval');
Syntax description :
jobno--job Number The system will automatically assign a task number jobno.
your_procedure -- Stored procedures executed , ';' Don't omit
next_date -- Next execution time
interval -- Every time interval ,interval In days
2. Operation instructions
2.1 Delete job dbms_job.remove(jobno);
2.2 Modify the action to be performed job:dbms_job.what(jobno,what);
2.3 Modify the time to execute dbms_job.next_date(jobno,next_date);
2.4 Modification interval dbms_job.interval(jobno, interval);
2.4 start-up dbms_job.run(jobno);
2.5 stop it dbms.broken(jobno, broken, nextdate); –broken by boolean value
-- Stop paying attention : First query job Number , know job Can't stop until the th .broken by true The execution stops . After stopping, you can use
select job, next_date, next_sec, failures, broken from user_jobs; When broken by y when , Has successfully stopped
边栏推荐
- ripro9.0修正升级版+WP两款美化包+稀有插件
- mysql(8.0.16版)命令及说明
- Sirius network verification source code / official genuine / included building tutorial
- Why does MySQL sometimes choose the wrong index?
- [MySQL] MySQL error "error 2006 (HY000): MySQL server has gone away"
- 1天涨粉81W,打造爆款短视频的秘诀是什么?
- 什么是WordPress
- Router firmware decryption idea
- What is WordPress
- vim命令下显示行号[通俗易懂]
猜你喜欢

b2子主题/博客b2child子主题/开源源码

不用Swagger,那我用啥?
![Two point, three point, 01 point plan [bullet I]](/img/12/5cc55b5f4f0bbcd5b89a9601eed824.png)
Two point, three point, 01 point plan [bullet I]

Install SSL Certificate in Litespeed web server
![[geek challenge 2019] babysql-1 | SQL injection](/img/21/b5b4727178a585e610d743e92248f7.png)
[geek challenge 2019] babysql-1 | SQL injection

服务器在线测速系统源码

Good use explosion! The idea version of postman has been released, and its functions are really powerful

好用到爆!IDEA 版 Postman 面世了,功能真心强大
![[JS advanced] JS functions, overloads, anonymous functions, scopes and scope chains_ 03](/img/50/754f7915ee4b2e04fdd21ae68130c6.png)
[JS advanced] JS functions, overloads, anonymous functions, scopes and scope chains_ 03

保障邮箱安全,验证码四个优势
随机推荐
什么是WordPress
Unity鼠标带动物体运动的三种方法
What is WordPress
拥抱开源指南
postgres概述
[cesium] entity property and timing binding: the sampledproperty method is simple to use
Why does MySQL sometimes choose the wrong index?
Rongyun IM & RTC capabilities on new sites
「以云为核,无感极速」第五代验证码重磅来袭
小水滴2.0网站导航网模板
Tiktok programmer confession special code tutorial (how to play Tiktok)
What kind of knowledge payment system functions are more conducive to the development of the platform and lecturers?
PHP检测url网址链接是否正常可访问
ZBrush 2022 software installation package download and installation tutorial
What is WordPress
LiteSpeed Web服务器中安装SSL证书
[极客大挑战 2019]BabySQL-1|SQL注入
STM32 drives st7701s chip (V ⅰ V0 mobile phone screen change price)
Two point, three point, 01 point plan [bullet III]
1331. Array sequence number conversion