FirstRow Property (SQL-DMO)

The FirstRow property is an ordinal value defining the starting point for a bulk data copy.

Applies To

BulkCopy Object

Syntax

object.FirstRow [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value Long integer specifying a data file or Microsoft® SQL Server™ table row

Remarks

When data is copied from SQL Server by using the ExportData method of a Table or View object, the FirstRow property indicates the starting row position in the SQL Server table. When data is copied to SQL Server by using the ImportData method of a Table object, the FirstRow property indicates the starting row position in the source data file.

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetFirstRow(LPLONG pRetVal);

HRESULT SetFirstRow(LONG NewValue);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.