次の方法で共有


QueryResults Object

この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。

The QueryResults object presents tabular data to the SQL Distributed Management Objects (SQL-DMO) application. SQL-DMO enumeration methods, such as the EnumLocks method of the Database object, return a QueryResults object to report their data. SQL-DMO statement execution methods, such as the ExecuteWithResults method of Database and SQLServer objects, also return a QueryResults object.

現在のオブジェクトを表す SQL-DMO オブジェクト モデル

Properties

ColumnMaxLength Property

CurrentResultSet Property

ColumnName Property

ResultSets Property

Columns Property

Rows Property

ColumnType Property

 

Methods

GetColumnBinary Method

GetColumnFloat Method

GetColumnBinaryLength Method

GetColumnGUID Method

GetColumnBool Method

GetColumnLong Method

GetColumnDate Method

GetColumnString Method

GetColumnDouble Method

GetRangeString Method

解説

The QueryResults object is a reporting tool. All properties of the QueryResults object are read-only. With the QueryResults object, you can:

  • Navigate data returned from a server running Microsoft SQL Server as the result of statement execution.
  • Retrieve specific data values in a data type usable by your application.
  • Get the data result of a statement execution as a delimited string of values.
ms132930.note(ja-jp,SQL.90).gifメモ :
The QueryResults object is compatible with instances of SQL Server versions 7.0 and later. However, the QueryResults2 object extends the functionality of the QueryResults object for use with features that were introduced in SQL Server 2000.

参照

関連項目

QueryResults2 Object

ヘルプおよび情報

SQL Server 2005 の参考資料の入手