SESSION_USER

<< Click to Display Table of Contents >>

Navigation:  Streaming SQL Reference Guide > Basic Building Blocks > Functions > Built-in Functions > General Management Functions >

SESSION_USER

Previous pageReturn to chapter overviewNext page

Returns the character string that was the id of the user for which this session was created, that is, the name used to log on to SQLstream.

5_2_indicator

Version 5.3 Feature

As of version 5.3, you no longer need to use the preface SYS_BOOT.MGMT.

Syntax

VALUES SYS_BOOT.MGMT.SESSION_USER;

Example

0: jdbc:sqlstream:> values session_user;

+--------------+

| SESSION_USER |

+--------------+

| SA           |

+--------------+