1.0

Table Of Contents
Input argument of type VARCHAR(128) that species the code set of the data
in the input le. The name of the code set should be one of the Java-supported
CODESET
character encodings. Data is converted from the specied code set to the database
code set (utf-8). Passing a NULL value interprets the data le in the same code
set as the node in which it is being executed.
SQLFire does not implement this argument. Imported data is always added
(inserted) to the target table without changing the existing table data. Specify
any value of type SMALLINT.
REPLACE
Input argument of type SMALLINT. With a non-zero value, this procedure
operates similarly to SYSCS_UTIL.IMPORT_TABLE, and it locks the table
LOCKTABLE
during the import operation. Specify a value of zero to prevent SQLFire from
locking the table during the import operation.
Species the number of threads to use for the import process. Each thread
processes a different portion of the le in parallel, and performs a bulk insert to
the SQLFire system.
NUMTHREADS
Input argument of type SMALLINT. With a non-zero value, SQLFire treats the
SCHEMANAME and TABLENAME arguments as case-sensitive. With a zero
value, SQLFire treats the schema and table names as case insensitive.
CASESENSITIVENAMES
The argument can specify a custom class that extends
com.vmware.sqlre.load.Import. The specied class overrides the default import
IMPORTCLASSNAME
process, and can perform on-the-y data conversions from external formats to
formats that SQLFire supports. If you specify NULL for this argument, then
SQLFire uses the default Import class. See Example with Custom Import
Class on page 561.
This argument is reserved for future use. Always specify NULL for the argument
in this release
ERRORFILE
Usage
For additional information on using this procedure see the section Using the bulk import and export procedures
in the Apache Derby documentation .
Example
The following example imports data into the STAFF table from a delimited data le called myfile.del.
Individual elds are separated by semicolons (;) and 6 parallel threads are used. The import procedure does not
lock the target table:
CALL SYSCS_UTIL.IMPORT_TABLE_EX (null, 'STAFF', 'c:/output/myfile.del',
';', null, null, 0,
0 /* don't lock the table */,
6 /* threads to use for import */,
0 /* case insensitive table name */,
null /* use the default import implementation */,
null /* unused, null required */)
vFabric SQLFire User's Guide560
vFabric SQLFire Reference