Overview

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

  1. ydb yql: Runs YQL queries and scripts with streaming enabled (without limiting the amount of returned data).
  2. 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.
  3. ydb table query execute: Runs DML queries with a given level of transaction isolation and a standard retry policy.
  4. ydb: Switches the console to interactive mode and executes YQL queries and scripts.

Commands 1-3 support the same functionality for query parameterization in YQL.