MicroStrategy ONE

Delete Attribute statement

Deletes an attribute within a project.

Copy
DELETE 
 ATTRIBUTEattr_nameIN [FOLDER]location_pathFROM PROJECTproject_name;

where:

  • attr_name is the name of the attribute to be deleted, of type string, between double quotes (").

  • location_path is the folder where the attribute resides, of type string, between double quotes (").

  • project_name is the name of the project, of type string, between double quotes (").

This statement can only be executed in a Windows environment.

Example

Copy
DELETE ATTRIBUTE "Duplicate_Day" IN FOLDER 
 "\Schema Objects\Attributes\Time" FROM PROJECT "MicroStrategy 
 Tutorial";