共用方式為


RESET

適用於:核取記號為「是」Databricks SQL 核取記號為「是」Databricks Runtime

使用 命令變更時,將會話層級 的 Databricks SQL 參數重設為全域預設值。 使用 Databricks Runtime 時,參數稱為 SQL Conf 屬性。

語法

RESET [ parameter_key ]

參數

  • parameter_key

    適用於:核取記號為「是」 Databricks SQL

    選擇性地將指定的 值重設為全域預設值。 如果您未命名參數,則會重設所有參數。

  • (無)

    適用於:核取記號為「是」 Databricks Runtime

    將透過 SET 命令設定的目前工作階段特定的運行時間組態重設為預設值。

範例

-- Reset all parameters.
> RESET;

-- I, Databricks SQL if the default value of ansi_mode is true and you ran SET ansi_mode=false, the example below will restore it to 'true'.
> RESET ansi_mode;

–>