共用方式為


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 協助