需要“在Oracle 9i上为PL / SQL中的存储过程创建日志文件?”的示例 [英] Needs Example of "Create Logfile for Stored Procedure in PL/SQL on Oracle 9i ?"
本文介绍了需要“在Oracle 9i上为PL / SQL中的存储过程创建日志文件?”的示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请给我一个演示示例创建日志文件(.text / .log)存储过程在PL / SQL ..
Please Give me a Demo Example of Creating Log file(.text/.log) Stored Procedure in PL/SQL..
推荐答案
创建日志文件,使用触发器,以便每当触发器被触发时,日志条目被添加到表中
- 创建一个在数据库表中添加记录的过程
- 在INSERT / UPDATE / DELETE和日志表中的存储过程插入记录中创建触发器。
To create a log file, use the triggers so that whenever the trigger is fired the log entry is added to the table
- Create a procedure to add record in database table
- Create Trigger on INSERT/UPDATE/DELETE and within the stored procedure insert record in log table.
这篇关于需要“在Oracle 9i上为PL / SQL中的存储过程创建日志文件?”的示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文