📣新登場!TiDB Cloud BYOC、TiDB Cloud Filesystem、PostgreSQL-compatible TiDB Cloud Starter がパブリックプレビュー中。このページは自動翻訳されたものです。原文はこちらからご覧ください。

UNSET VARIABLE



現在のセッションから 1 つ以上の変数を削除します。

構文

-- Remove one variable UNSET VARIABLE <variable_name> -- Remove more than one variable UNSET VARIABLE (<variable1>, <variable2>, ...)

例

次の例では、単一の変数を削除します。

-- Remove the variable a from the session UNSET VARIABLE a;

次の例では、複数の変数を削除します。

-- Remove variables x and y from the session UNSET VARIABLE (x, y);

このページは役に立ちましたか?