Overview

    You can use the following YDB CLI commands to run YQL queries:

    • ydb yql: Runs YQL queries and scripts with streaming enabled (without limiting the amount of returned data).
    • ydb scripting yql: Runs YQL queries and scripts, limiting the amount of data returned. You can also use this command to view the query execution plan and the response metadata.
    • ydb table query execute: Runs single queries of a specified type. You can set the mode of transaction isolation.

    Note

    To run YQL queries, we recommend the ydb yql command.

    In the future, it is planned to abandon ydb scripting yql and ydb table query execute commands providing all the necessary functionality with ydb yql command.