Categories: Context

CURRENT_SCHEMA

Returns the path/schema in use by the current session.

Syntax

CURRENT_SCHEMA() → varchar

Examples

SELECT CURRENT_SCHEMA
-- Samples."samples.dremio.com"

Usage Notes

This function must be called without parentheses.