Where Element (XMLA)

Defines a filter condition used by the parent Drop or Update command.

Syntax

<Drop> <!-- or Update -->
   ...
   <Where>
      <Attributes>...</Attributes>
   </Where>
   ...
</Insert>

Element Characteristics

Characteristic

Description

Data type and length

None

Default value

None

Cardinality

1-1: Required element that occurs once and only once.

Element Relationships

Relationship

Element

Parent elements

Drop, Update

Child elements

Attributes

Remarks

For Drop commands, the Where element, combined with the DeleteWithDescendants element, identifies the scope of attribute members to be dropped.

For Update commands, the Where element identifies the scope of attribute members to be updated. Multiple attribute members can be updated by using a combination of attributes included in the Attributes collection of the parent Update command and the Attributes collection of the Where element.

For more information about deleting and updating attribute members, see Inserting, Updating, and Dropping Members (XMLA).

See Also

Concepts