开发者

SQL User in trigger?

开发者 https://www.devze.com 2022-12-18 23:05 出处:网络
In my Delete trigger I need to know the username of the per开发者_开发知识库son deleting the record.

In my Delete trigger I need to know the username of the per开发者_开发知识库son deleting the record.

Is there a SQL function or variable for that?


suser_sname() should work.

0

精彩评论

暂无评论...
验证码 换一张
取 消