有一对外(外网也可连接)的ORACLE数据库服务器.想写程序实现这样的功能:
当有外网连接到此服务器并操作数据时做一记录.我是菜鸟,
想了半天,
觉得稍理想点的方法就是通过触发器实现.
但这样做又显得很笨拙.
然后又想,
即然ORACLE服务是通过监听程序与外网进行交互,
那么是否可以在ORACLE监听程序上做点文章,
让它实现我所想要的功能?如果各位高手有更好的解决方法还请多多指教.请各位帮忙指条路子,先谢了...注: 程序将使用.NET(C#)实现

解决方案 »

  1.   

    ORACLE监听程序上做点文章
    ================
    不行吧你说的触发器 try下My-Blog地址1:http://www.cnblogs.com/nyzfl
    My-Blog地址2: http://blog.csdn.net/nyzfl
      

  2.   

    oracle在安全方面提供了Standard Database Auditing等审计功能Enabled through the AUDIT_TRAIL parameter
    NONE: Disables collection of audit records
    DB: Enables auditing with records stored in the database
    OS: Enables auditing with records stored in the operating system audit trail
    Can audit:
    Login events
    Exercise of system privileges
    Exercise of object privileges
    Use of SQL statements用这个试试