MicroStrategy ONE

Remove Attribute Child statement

Removes an attribute child from an attribute within a project.

Copy
REMOVE 
 ATTRIBUTECHILDattributechild_name[IN 
 FOLDERchild_location_path]FROM 
 ATTRIBUTEattribute_nameIN [FOLDER]location_pathFROM PROJECTproject_name;

where:

  • attributechild_name is the name of the attribute to be removed from the children list, of type string, between double quotes (").

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

  • attribute_name is the name of the attribute from which the attribute child is to be removed, 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
REMOVE ATTRIBUTECHILD "Day" FROM ATTRIBUTE 
 "Month" IN FOLDER "\Schema Objects\Attributes" FROM 
 PROJECT "MicroStrategy Tutorial";