Returns the Cirro username used when connecting to Cirro.

Syntax


SELECT USER FROM objectName ;
SELECT CURRENT_USER FROM objectName ;

Arguments

  • objectName: The qualified name of an object with a current connection.

Examples

Returns the Cirro username used


SELECT USER FROM ORACLE1.oracle.tpch.nation ;

SELECT CURRENT_USER FROM ORACLE1.oracle.tpch.nation ;