Setting the Client-Side FetchCount Parameter: - Aster Client

Teradata Aster® Client Guide

Product
Aster Client
Release Number
7.00
Published
May 2017
Language
English (United States)
Last Update
2018-04-13
dita:mapPath
hki1475000360386.ditamap
dita:ditavalPath
Generic_no_ie_no_tempfilter.ditaval
dita:id
B700-2005
lifecycle
previous
Product Category
Software

Each client sets client parameters differently:

  • In the JDBC script, the FetchCount parameter is set during getConnection as shown in this sample code:
    Properties sysProps = new Properties();
    sysProps.put("user", username_);
    sysProps.put("password", passwd_);
    sysProps.put("FETCH_COUNT", fetchCountValue);
    sysProps.putAll(sysProps);
    Connection con = DriverManager.getConnection(url_, sysProps);
  • In the ACT client, the FetchCount parameter is set using the ACT option shown in this sample code:
    -C [ --fetch-count ] arg
    Example:   act -h 10.80.173.90 -U beehive --fetch-count 1000