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.

[!참고] 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 지원 받기