Skip to main content

Context

The SQL commands for context enable you to specify the Context to be used for the current query session.

note:

Using SQL commands to set the context for your current query does not update the SQL editor's Context setting. For information about the SQL editor, see SQL editor.

Using a Context

Syntax
USE <source>;
<query>

Parameters

{{< sql-section file="data/sql/context.json" data="usingAContext" >}}

Examples

Use the demo source
USE Samples."samples.dremio.com";
SELECT * FROM "NYC-taxi-trips"