且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在Oracle中使用触发器记录对表的更改

更新时间:2023-01-16 17:05:42

有两个伪列:uid和user,您可以在values子句中使用它们,并且以下sql返回客户端的ip地址:

There are two pseudocolumns: uid and user, you can use them in your values clause and the following sql returns the ip address of the client:

SELECT SYS_CONTEXT('USERENV','IP_ADDRESS') FROM dual;