Ispirer Ispirer
 


Ispirer Home Page Ispirer SQLWays Product Page Request SQLWays

Sqlways.ini File - Section [SYBASE]

This article describes sqlways.ini file [SYBASE] section and the options it contains.

Option name Description
BIN Specifies the directory where the Sybase utilities like BCP and ISQL are located.
TARGET_VERSION Specifies the target version of the Sybase database. If this option is empty the latest Sybase database version will be used.
Note: According to the version number conversion results may be different.
SERVER_NAME Specifies the server name that is used in generated scripts for the BCP and ISQL utilities (Parameter -S).
DATABASE Specifies the database name that is used in generated scripts for the BCP and ISQL utilities.
PORT This option sets port number that will be used to connect to Sybase database.
USER Specifies the user name that is used in generated scripts for the BCP and ISQL utilities (Parameter -U).
PWD Specifies the user password that is used in generated scripts for the BCP and ISQL utilities (Parameter -P).
TEMP_TAB_INDEXED_ALWAYS This option is used for SybaseASE to SybaseASE, when the detection for Cartesian Product works. If this option is specified as yes, all the joins with temporary tables are treated as indexed. So no Cartesian is detected in this case. Otherwise the Cartesian is detected if there is no information about the indexes created upon the temporary tables used in DML statement.
CLIENT_SIDE_CHARACTER_SET_CONVERSION This option specifies client-side character set conversion for the BCP utility (Parameter -Y).
Possible values: “Yes”, “No”. Default value is “No”.
CLIENT_SIDE_PWD_ENCRYPTION Specifies the client-side password encryption to the ISQL and BCP utilities commands (Parameter -X).
Possible values: “Yes”, “No”. Default value is “No”.
PREFETCH_SIZE Specifies the number of rows per batch of data copied. By default, bcp copies n rows in one batch, where n is equal to the batch size. Batch size applies only when you are bulk copying in; it has no effect on bulk copying out. The smallest number bcp accepts for batchsize is 1. The largest number bcp accepts for batchsize is 2147483647L.

Example:

[SYBASE]
SERVER_NAME=test_srv
CLIENT_SIDE_CHARACTER_SET_CONVERSION=Yes


Ispirer Home Page Ispirer SQLWays Product Page Request SQLWays

sqlways/command-line/sqlways-ini/sybase-section.txt · Last modified: September 07, 2018, 01:02:54 PM by alexandr.kirpichny
 
© 1999-2018, Ispirer Systems Ltd.
All Rights Reserved.  Privacy Statement