GET_USER_ID

更新时间:
复制 MD 格式

Returns the unique identifier (UID) of the current account.

Syntax

get_user_id()

Parameters

None.

Return value

Returns the UID of the current account.

Example

select get_user_id();

Output:

+------------------+
| _c0              |
+------------------+
| 1117xxxxxxxx8519 |
+------------------+

Related functions

For other account-related and session functions, see Other functions.