RowDelimiter Property

SQL-DMO

SQL-DMO

RowDelimiter Property

The RowDelimiter property specifies a character or character sequence that marks the end of a row in a Microsoft® SQL Server™ 2000 bulk copy data file.

Applies To
BulkCopy Object
Syntax

object.RowDelimiter [= value]

Parts

object

Expression that evaluates to an object in the Applies To list

value

String that specifies one or more characters that delimit rows in the data file

Data Type

String

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetRowDelimiter(SQLDMO_LPBSTR pRetVal);

HRESULT SetRowDelimiter(SQLDMO_LPCSTR NewValue);

Note  SQL-DMO strings are always returned as OLE BSTR objects. A C/C++ application obtains a reference to the string. The application must release the reference using SysFreeString.

Remarks

The RowDelimiter property has meaning only when the BulkCopy object property DataFileType is SQLDMODataFile_SpecialDelimtedChar.