In Oracle/PLSQL, the uid function returns the id number for a user's session (the user who is currently logged in).
Syntax
The syntax for the uid function is:
uid
- Applies To
- Oracle 11g, Oracle 10g, Oracle 9i, Oracle 8i
For Example
select uid
into parm_uid
from dual;
The variable called parm_uid will now contain the id number for the user's session. The value could be 25, for example.
本文介绍了 Oracle/PLSQL 中的 UID 函数,该函数用于返回当前登录用户的会话 ID 号。适用于 Oracle 11g、10g、9i 和 8i 版本。通过示例展示了如何使用 UID 函数来获取用户会话 ID。

946

被折叠的 条评论
为什么被折叠?



