This is an old revision of the document!



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.
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.
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


© 1999-2024, Ispirer Systems, LLC. All Rights Reserved.