Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.99 KB

sqlserverresultset-class.md

File metadata and controls

42 lines (28 loc) · 1.99 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic
SQLServerResultSet Class
SQLServerResultSet Class
David-Engel
v-davidengel
01/19/2017
sql
connectivity
reference

SQLServerResultSet Class

[!INCLUDEDriver_JDBC_Download]

Represents a JDBC result set.

Package: com.microsoft.sqlserver.jdbc

Implements: ISQLServerResultSet

Syntax

  
public final class SQLServerResultSet  

Remarks

There are two types of result sets: client-side and server-side.

Client-side result sets are used when the results can fit in the client process memory. These results provide the fastest performance and are read by the [!INCLUDEjdbcNoVersion] in their entirety from the database. These result sets do not impose additional load on the database by incurring the overhead of creating server-side cursors. However, these types of result sets are not updatable.

Server-side result sets can be used when the results do not fit in the client process memory or when the result set is to be updatable. With this type of result set, the JDBC driver creates a server-side cursor and fetches rows of the result set transparently as the user scrolls through it.

The SQLServerResultSet class provides many methods to let you update the result set with any native Java data type and many Java object types.

This class supports unwrapping to SQLServerResultSet class, ISQLServerResultSet interface, and java.sql.ResultSet interface. For more information, see Wrappers and Interfaces.

See Also

SQLServerResultSet Members
JDBC Driver API Reference