Share via


MultipleColumnUpdate Property

Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.

The MultipleColumnUpdate property specifies whether to update multiple columns using a single UPDATE statement.

구문

object.MultipleColumnUpdate [= value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • value
    TRUE or FALSE

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetMultipleColumnUpdate(LPBOOL pRetVal);
HRESULT SetMultipleColumnUpdate(BOOL NewValue);

주의

If set to TRUE (the default), MultipleColumnUpdate specifies that multiple columns are updated using a single UPDATE statement. If MultipleColumnUpdate is set to FALSE, separate update statements are generated for each column changed.

Setting MultipleColumnUpdate to TRUE can result in an increase in performance. An application should set MultipleColumnUpdate to FALSE if it is necessary to maintain compatibility SQL Server 7.0 or earlier. An application should also set MultipleColumnUpdate to FALSE if triggers are defined for one or more columns.

MultipleColumnUpdate cannot be modified after the MergeArticle2 object is created.

[!참고] If an application calls MultipleColumnUpdate on an instance of SQL Server version 7.0, the constant, SQLDMO_E_SQL80ONLY, and the message "This property or method requires Microsoft SQL Server 2000 or later" are returned.

Applies To:

MergeArticle2 Object