Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.4 KB

File metadata and controls

50 lines (35 loc) · 1.4 KB
title setFetchDirection Method (SQLServerStatement)
description setFetchDirection Method (SQLServerStatement)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerStatement.setFetchDirection
apitype Assembly

setFetchDirection Method (SQLServerStatement)

[!INCLUDEDriver_JDBC_Download]

Gives [!INCLUDEjdbcNoVersion] a hint as to the direction in which result set rows should be processed.

Note

The JDBC driver currently ignores the hint that is given by this method.

Syntax

  
public final void setFetchDirection(int nDir)  

Parameters

nDir

An int that indicates the row processing direction, which can be one of the following values:

FETCH_FORWARD

FETCH_REVERSE

FETCH_UNKNOWN

Exceptions

SQLServerException

Remarks

This setFetchDirection method is specified by the setFetchDirection method in the java.sql.Statement interface.

See Also

SQLServerStatement Members
SQLServerStatement Class