Configuration Parameters

This section contains the information that the connector uses to connect and interact with the application. Each application type requires different information to create and maintain a connection.

The SQL Loader connector uses the following connection attributes under different tabs (Settings, Merging, and Iteration Partitioning):

Note
Attributes marked with an asterisk (*) are mandatory.

SQL Loader Connection Settings

Query Settings

Merging

Note
You must discover the schema to get the suggested column values in index and merge columns for selection. Discover schema populates the values in a multi-suggest attribute dropdown of index and merge columns which have the auto complete facility.

Iteration Partitioning

Examples for Data Files URL

Server

Examples

Local

Windows

UNIX

jdbc:csv:/c:/data?_CSV_Separator=|

For mapped drive/shared location: jdbc:csv:/\\IPaddress\folderpath

jdbc:csv:////home/sqlloader/acc.csv?_CSV_Separator=|

 

Text

CSV

FTP Server

jdbc:text:ftp://<ip_address>/<directory_path>

jdbc:csv:ftp://<ip_address>/<directory_path>

SFTP Server

jdbc:text:sftp://<ip_address>/<directory_path>

jdbc:csv:sftp://<ip_address>/<directory_path>

HTTP Server

jdbc:text:http://www.<http_host_path>

jdbc:csv:http://www.<http_host_path>

HTTPS Server

jdbc:text:https://www.<https_host_path>

jdbc:csv:https://www.<https_host_path>

Examples for Query Settings

For the Query Settings fields, see the following example:

Join Query: If the .CSV files have the following respective columns:

  • Employee.CSV: ID, FullName, Email, and ContactNo

  • EmpDept.CSV: ID, DeptName, and Role

Then to aggregate data from Employee.CSV and EmpDept.CSV files, the join query is as follows:

select e.ID, e.FullName, e.Email, e.ContactNo, d.DeptName, d.Role

from Employee e , EmpDept d

where e.ID=d.ID

Note
When the file name is Employee.CSV, in SQL query, you must only mention Employee, '.csv' is not required.