Ispirer Ispirer
 


Ispirer Home Page Ispirer SQLWays Product Page Request SQLWays

Sqlways.ini File - Section [MSAZURESQLWAREHOUSE]

This article describes sqlways.ini file's [MSAZURESQLWAREHOUSE] section and the options it contains.

Option name Description
BIN Specifies the directory, where Microsoft SQL Server utilities like BCP and ISQL are located.
SERVER_NAME Specifies the server name, which is used in generated scripts for the BCP and ISQL utilities (Parameter -S of BCP).
DATABASE Specifies the database name, which is used in generated scripts for the BCP and ISQL utilities.
USER Specifies the user name, which is used in generated scripts for the BCP and ISQL utilities (Parameter -U of BCP). To use this option, the option TRUSTED_CONNECTION (see below) must be set to No.
PWD Specifies the user password, which is used in generated scripts for the BCP and ISQL utilities (Parameter -P of BCP). To use this option the option TRUSTED_CONNECTION (see below) must be set to No.
TRUSTED_CONNECTION Specifies that a trusted connection to Microsoft Azure SQL Data Warehouse is used in generated scripts for the BCP and ISQL utilities (Parameters -T of BCP and -E of ISQL). When Yes has been chosen in this option, security credentials of the network user are used and a user name (login_id) and a password are not required. Possible values are Yes, No. The default value is No.
MAX_ERRORS Specifies the maximum number of errors that can occur before the BCP utility is canceled. Each row that cannot be copied by BCP is ignored and counted as one error (Parameter -m of BCP). The default value is 10.
CODE_PAGE Specifies a code page of the data in the data file for the BCP utility (Parameter -C of BCP). The following values can be specified for the CODE_PAGE option:
* ACP - ANSI/Microsoft Windows (ISO 1252).
* OEM - Default code page used by the client. This is the default code page used by bcp if -C is not specified.
* RAW - No conversion from one code page to another is taking place.
* <value> - Specific code page number, for example, 437.
MS_QUOTED_IDENTIFIER This option defines the way how MSSQL native utilities (sqlcmd.exe and bcp.exe) will treat quoted delimiters and data. If this option is set to “Yes” identifiers should be delimited with double quotes and literals must be delimited with single quotation marks. When this option is set to “No”, only brackets [] can be used to delimit identifiers and double quotation marks will be used to delimit character strings.
Possible values - “Yes”, “No” or empty.
Default value - “Yes”.
USE_ACTIVE_DIRECTORY This option switches authentication mechanism to use ACTIVE DIRECTORY authentication. Thus, if this option is set to “Yes”, option -G will be added in the commands to SQLCMD and BCP utilities. The -G switch requires at least sqlcmd version 13.1.
Possible values - “Yes”, “No” or empty.
Default value - “No” or empty.
BATCH_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.
CASE_SENSITIVE_COLLATION This option checks object names case. If this option is set to “Yes”, our tool will check the object names taking into account name case. If two objects have the same names and they are written in the same way, for example 'Tab' and 'Tab', in this case suffix will be added to one of the objects. If there are two objects with the same names, but they are written in a different manner, for example 'Tab' and 'TAB', no suffix will be added, as this option is set to “Yes”.
USE_SOURCE_FILEGROUP_NAMES If this option is set to “Yes”, filegroup names from source database will be used for tables and indexes.
Possible values - “Yes”, “No” or empty.
Default value - “No” or empty.
TABLE_FILEGROUP This option defines FILEGROUP for tables.
INDEX_FILEGROUP This option defines FILEGROUP for indexes.

Example:

[MSAZURESQLWAREHOUSE]
MAX_ERRORS=10
CASE_SENSITIVE_COLLATION=No


Ispirer Home Page Ispirer SQLWays Product Page Request SQLWays

sqlways/command-line/sqlways-ini/msazuresqlwarehouse-section.txt · Last modified: December 21, 2018, 09:50:02 AM by darya.prikhodkina
 
© 1999-2019, Ispirer Systems Ltd.
All Rights Reserved.  Privacy Statement