共用方式為


GetColumnBigInt Method

未來的 Microsoft SQL Server 版本將移除這項功能。請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。

The GetColumnBigInt method retrieves the contents of a bigint column as a string.

語法

object.GetColumnBigInt(Row,Column)asString

Parts

  • object
    Expression that evaluates to an object in the Applies To list.

  • Row
    Long integer that identifies a row by ordinal position.

  • Column
    Long integer that identifies a column by ordinal position.

Prototype (C/C++)

HRESULT GetColumnBigInt(
long lRow, 
long lColumn, 
PLONGLONG pRetVal);

備註

The Row and Column Parameters are 1-based in Microsoft Visual Basic applications, and zero-based in C++ applications.

[!附註]

For the C++/C interface, the return data type is LONGLONG, which maps to the SQL Server bigint data type. For the OLE automation interface, the return data type is BSTR because the automation interface does not support the 64 bit bigint data type.

[!附註]

If an application calls GetColumnBigInton 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: