Special open

Read(365) Label: special open,

Select a data file and click the “Browse” icon  to first choose a desired open way and then open the file. A result set will be directly named when opened with the selected way. There are different open configurations for data files of different formats. The directions are below:

Ø  Bin file

Select a btx file and click  to enter the bin file configuration interface:

Result nameName of the result set displayed by opening a data file.

Result type There are two result types: table sequence and cursor. Different types of result sets are computed in different ways.

Segment CountThe number of segments into which the current bin file will be divided.

Segment NumberThe segment to be retrieved after the bin file is segmented.

Import fieldsSelect to-be-imported fields of the data file.

Ø  Text file

Select a txt/csv file and click  to enter the text data source configuration interface:

Result nameName of the result set displayed by opening a data file.

Result type There are two result types: table sequence and cursor. Different types of result sets are computed in different ways.

CharsetSelect an appropriate character set for the data file; use the file’s original character set by default.

DelimiterSelect an eligible separator between fields; default is the TAB.

Segment CountThe number of segments into which the current data file will be divided.

Segment NumberThe segment to be retrieved after the data file is segmented.

Import fieldsSelect to-be-imported fields of the data file, their types and formats.

Import the first row as field namesLoad the data file’s first row as field names, and it is checked by default; when it is unchecked, display the field names as _1,_2,….

Use double quotation marks as escape character Use the Excel escaping method to treat two quotation marks as one, and do not escape the other characters.

Keep leading and trailing spacesRetain the white spaces at both ends of a string; by default, they will be automatically deleted.

Remove quotation marks Both single quotation marks and double quotation marks at the ends will be removed from field names and field values; but those within them will be kept.

Retrieve data in multiple threads Retrieve data in parallel threads to increase speed.

Report error when column count does not match that at row1 A row where the number of columns is inconsistent with that in the first row will be deleted.

Ø  Excel file

Select an xls/xlsx file and click  to enter the Excel data source configuration interface:

 

Result nameName of the result set displayed by opening a data file.

Result type There are two result types: table sequence and cursor. Different types of result sets are computed in different ways.

Begin row,End rowSet up the beginning row and ending row for retrieving the Excel file.

PasswordThe password for accessing an Excel file.

SheetThe worksheet to-be-opened in an Excel file.

FreshYou need to click this button to display the sheet name after entering the password for opening an Excel file with the access privilege.

Import the first row as field namesLoad the Excel file’s first row as field names, and it is checked by default; when it is unchecked, display the field names as _1,_2,…. Import all fields by default when this option is not checked.

Ignore empty rowsRemove empty rows before and after the Excel data during retrieval; the option is invalid when result type is cursor.

Ignore white spaces at both sidesRemove white space characters at both sides of each string during retrieval.