DROP CUBE Statement

Analysis Services Programming

Analysis Services Programming

DROP CUBE Statement

This statement deletes a local cube or a virtual cube.

BNF

<drop-cube-statement> ::= DROP [SESSION] CUBE <cube-name>

Remarks

This statement deletes the cube or virtual cube specified in <cube-name>.

Example

The following example drops the cube created by the example in CREATE CUBE Statement:

DROP CUBE [Sales]