USERNAME()

Scalar. Returns the user name of the owner of the current query module file. Only valid if the Sybase CEP Server is configured for user authentication.

Syntax

USERNAME()
Data Types

Return

String

Example

INSERT INTO OutStream
SELECT USERNAME(), InStream.Password
FROM InStream;