ePrivacy and GPDR Cookie Consent by Cookie Consent Skip to main content

Loader MsSQL

MsSQL loader exports data to Microsoft SQL server database.

Prerequisite

When connecting to an Azure database and using an SSH tunnel, the username must be in the format <username>@<databasename> instead of just <username> otherwise, it will throw errors.

Data In/ Data Out

Data In Upload all files in /data/in/files
Data Out N/A

 

Learn more: about the folder structure here.

Parameters

SQL1.png

Host (required) Name of server that hosts the database.
Port (required) The port number you want to access. 
Database (required) Name of the database.

Username (required)

Account name.
Password (required) Account password.

 

SQL2.png

Enabled (optional) If you want to SSH to be enabled.
Private (optional) Private key. 
Public (optional) Public key.
SSH Host (optional) Name of SSH Host.
SSH User (optional) Username of SSH Host. 

 

SQL3.png

Input Table (required)

The name of the input table you want to load the database. 
DB Table Name (required) The name of the table that will be created in the database. 
Export (optional) IfTrue if you want a certainthis table to be loader or not. By default, it is true.
Incremental (optional) Signifies if you want to load the data by overwriting whatever is in database or incrementally.
Column (required) Refers to the

Defines primary key thatcolumn. isCan be used forwith incremental load. 


SQL4.png

Column Name (required) Refers to the namecolumn ofin the input csv file.
DB Column Name (required) Refers to how it'sthis goingcolumn towill be named in destination database.

Data Type (required)

The data type youused wantin tothe use.column.

Size (optional)

The maximum number of digits used by the data type of the column or parameter.

Nullable (optional)

If you want the value in this column to be nullable.
Default Value (optional)

The default value that is loadedinserted for empty values in casethe ofcolumn. emptyFor value, so if you use example, "default": "",  it will createinserts NULLs in destination DBcolumns database for empty strings in csv file. "default":- "-" wouldinserts create - a character  for empty strings.