Where Element (XMLA)

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

语法

<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

备注

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).

请参阅

概念

Properties (XMLA)

帮助和信息

获取 SQL Server 2005 帮助