Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 1.52 KB

File metadata and controls

55 lines (40 loc) · 1.52 KB
title setFetchDirection Method (SQLServerStatement) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
apiname
SQLServerStatement.setFetchDirection
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 18176517-2fb3-4266-924d-0f01253083d2
author David-Engel
ms.author v-daenge

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