Chinaunix首页 | 论坛 | 博客
  • 博客访问: 15352
  • 博文数量: 3
  • 博客积分: 235
  • 博客等级: 二等列兵
  • 技术积分: 40
  • 用 户 组: 普通用户
  • 注册时间: 2006-05-04 23:48
文章分类
文章存档

2009年(1)

2008年(2)

我的朋友
最近访客

分类:

2009-01-04 11:16:53

Write a Message to the Alert Log


2004-7-8 未知

  

Write a Message to the Alert Log

This tip comes from Marco Gilbert, DBA at MRQ, in Ste-Foy, Québec, Canada.
If you want to write a message to the alert log, you can use the undocumented KSDWRT procedure of the DBMS_SYSTEM package.
This procedure has two parameters, the first one must be "2" to write to the alert file, the second one is the message you want to write.
Here is an example:

execute sys.dbms_system.ksdwrt(2,to_char(sysdate)|| ' -- ');

阅读(1003) | 评论(0) | 转发(0) |
0

上一篇:Non-Identifying还是Identifying

下一篇:没有了

给主人留下些什么吧!~~