Categories: System
CURRENT_SCHEMA
Returns the path/schema in use by the current session. This function cannot be used in a reflection.
Syntax
CURRENT_SCHEMA() → varchar
Examples
CURRENT_SCHEMA exampleSELECT CURRENT_SCHEMA
-- Samples."samples.dremio.com"
Usage Notes
This function must be called without parentheses.
Was this page helpful?
Glad to hear it! Thank you for your feedback.
Sorry to hear that. Thank you for your feedback.