当前位置:网站首页>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
边栏推荐
- 苹果手机iCloud钥匙串的加密缺陷
- Blackboard cleaning effect shows H5 source code + very romantic / BGM attached
- Postgres overview
- Learn to use MySQL explain to execute the plan, and SQL performance tuning is no longer difficult
- [MySQL from introduction to proficiency] [advanced chapter] (x) MyISAM's indexing scheme & advantages and disadvantages of indexing
- PKG packaging node project
- 【cesium】entity属性和时许绑定:SampledProperty方法简单使用
- Has samesite cookies ever occurred when using identityserver?
- [cesium] entity property and timing binding: the sampledproperty method is simple to use
- Using C language to compile student achievement management system (C language student achievement management system deleted)
猜你喜欢

大三下学期总结
![Two point, three point, 01 point plan [bullet I]](/img/12/5cc55b5f4f0bbcd5b89a9601eed824.png)
Two point, three point, 01 point plan [bullet I]

Cvpr2020 best paper: unsupervised learning of symmetric deformable 3D objects

Quickly deploy mqtt clusters on AWS using terraform

Zotero document manager and its use posture (updated from time to time)

What is WordPress

Software testing and quality learning notes 1 --- black box testing

What is WordPress

2022-2023 年十大应用程序发展趋势

Ten thousand words detailed Google play online application standard package format AAB
随机推荐
[half understood] zero value copy
不用Swagger,那我用啥?
PKG packaging node project
Solutions to the disappearance of Jupiter, spyder, Anaconda prompt and navigator shortcut keys
WPF dependent attribute (WPF dependent attribute)
What is WordPress
Install SSL Certificate in Litespeed web server
mysql(8.0.16版)命令及说明
Unity鼠标带动物体运动的三种方法
Why does MySQL sometimes choose the wrong index?
R语言-用于非平衡数据集的一些度量指标
迭代法求行列式(线性代数公式)
STM32驱动ST7701S芯片(vⅰV0手机换屏价)
[cesium] entity property and timing binding: the sampledproperty method is simple to use
STM32 drives st7701s chip (V ⅰ V0 mobile phone screen change price)
我想请教下各位大佬,cdc采集mysql时,如果发生了主从切换,有什么方案可以处理吗
WPF依赖属性(wpf 依赖属性)
Router firmware decryption idea
机器学习强基计划0-5:为什么学习的本质是泛化能力?
Xiaoshuidi 2.0 website navigation network template