Export (0) Print
Expand All

SQLServerResultSet Class

Represents a JDBC result set.

Package: com.microsoft.sqlserver.jdbc

Implements: ISQLServerResultSet


public final class SQLServerResultSet

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 Microsoft SQL Server JDBC Driver 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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft