blob: 0c9119011114169ab67a65fbbffa474a028aeb6e [file] [log] [blame]
////
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
////
:documentationPath: /plugins/actions/
:language: en_US
:page-alternativeEditUrl: https://github.com/apache/incubator-hop/edit/master/plugins/actions/mssqlbulkload/src/main/doc/mssqlbulkload.adoc
= MS SQL Server Bulk Loader
== Description
The MS SQL Server Bulk Loader action can bulk load data from a file into MSSQL.
== Options
=== General Tab
[width="90%", options="header"]
|===
|Option|Description
|Workflow action name|The name of the workflow action.
|Connection|The database connection.
|Edit...|Edit the database connection.
|New...|Create a new database connection using the standard dialog.
|Wizard...|Create a new database connection using the wizard dialog.
|Target schema|The target schema.
|Target table name|The target table.
|Truncate table|Whether or not to truncate the table before starting the bulk load.
|Source File name|The file to bulk load into MSSQL.
|Browse...|Browse the filesystem to choose the source file.
|Data file type|char, native, widechar, widenative
|Fields terminated by|The field separation character.
|Rows terminated by|The row termination character.
|===
=== Advanced Tab
[width="90%", options="header"]
|===
|Option|Description
|Codepage|OEM, ACP, RAW, specific
|Specific codepage|Code page to use when specific is selected.
|Format file|Path to format file.
|Browse|Browse the filesystem to choose a format file.
|Fire triggers|
|Check constraints|
|Keep nulls|
|Keep identity|
|Tablock|
|Start at line|At which line to start.
|End at line|At which line to end.
|Order by|Which field to order with.
|Direction|Ordering ascending (asc) or descending (desc).
|Error file|Path to the error file.
|Browse...|Browse the filesystem to a error file location.
|Add date time|Whether or not to add the date and time.
|Max errors|
|Batch size|
|Rows per batch|
|Add file to result filenames|
|===