Drop Variable

Summary

The DROP VARIABLE command drops the specified variable.

Syntax

drop variable [if exists] <name>;

Parameters

Parameter
Description
[if exists] Suppresses error messages thrown when dropping a variable that does not exist.
<name> The name of the variable.

Details

If the variable does not exist and [if exists] is not specified in the command, an error is generated.

If a step is dropped and is then referenced in an existing pipeline, the pipeline will fail to run correctly. Currently no referential checks are performed.

Examples

drop step step1;
drop step if exists step1;

Related Commands

EVAL

SET