SelectIntoBulkCopy Property

后续版本的 Microsoft SQL Server 将删除该功能。 请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。

The SelectIntoBulkCopy property enables bulk-logged operation on a Microsoft SQL Server database.

语法

object.SelectIntoBulkCopy [= 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 GetSelectIntoBulkCopy(LPBOOL pRetVal);
HRESULT SetSelectIntoBulkCopy(BOOL NewValue);

注释

If TRUE, bulk-logged operations are allowed.

If FALSE, bulk-logged operations are not allowed.

重要说明重要提示

Bulk-logged operations make no entry in a database transaction log. Therefore, a backup of the transaction log does not protect database integrity. After a bulk-logged operation is performed, a database backup should be performed to capture an image of the database. For more information, see 还原与恢复概述 (SQL Server).

Applies To:

请参阅

参考