ALTER DATASET … DROP VERSION

Drops a dataset version.

See also:

ALTER DATASET , ALTER DATASET … ADD VERSION

Syntax

ALTER DATASET [ IF EXISTS ] <name> DROP VERSION <version_name>
Copy

Parameters

name

The name of the dataset that you’re dropping.

DROP VERSION version_name

The name of the dataset version that you’re dropping.

Access control requirements

Privilege

Object

Notes

OWNERSHIP

Schema

Provides the privilege to both read and modify the dataset.

Examples

The following example drops version v1 of the my_dataset dataset:

ALTER DATASET my_dataset
DROP VERSION 'v1';
Copy