Skip to main content
Returns the effective warehouse name for the current session. The result reflects the warehouse set via SET WAREHOUSE or the default warehouse if none was explicitly selected.

Syntax

Return value

VARCHAR. The warehouse name currently in use for the session.

Examples