On this page

    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

    <source>

    String

    The path of the source that you want to use.


    <query>

    String

    The query that you want to run.

    Examples

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